Skip to content

npm install --production #1

Open

Description

@Guuz

Hello,

I think you actually want to run npm install --production instead of npm install. This decreases the size of projects that use separate dependencies and devDependencies in the package.json. This is pretty common.
If that somehow does not make sense for this image; how can i achieve this for my project? Can i overwrite certain commands or should i use my own fork of this docker file?

Thanks for the help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions