Skip to content

Use multistage builds #29

@radeno

Description

@radeno

It should be easier to maintain and faster to build and deploy new images when we use multistage docker builds.

Any ideas what files we need to copy from official node image?

from /usr/local/bin:

  • node
  • npm -> ../lib/node_modules/npm/bin/npm-cli.js
  • npx -> ../lib/node_modules/npm/bin/npx-cli.js
  • yarn -> /opt/yarn/bin/yarn
  • yarnpkg -> /opt/yarn/bin/yarn

from /usr/local/lib:

  • node_modules

from /opt:

  • yarn

Am i missing something?
Anyone with better linux experience. Are there any issues with copied binaries?
Any potential performance degradation ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions