Skip to content

Update Node.js Docker Cheat Sheet to use npm ci --omit=dev for installing production dependencies - #1270

Merged
szh merged 1 commit into
OWASP:masterfrom
exwar:feature/node-docker-only-to-omit
Jan 3, 2024
Merged

Update Node.js Docker Cheat Sheet to use npm ci --omit=dev for installing production dependencies#1270
szh merged 1 commit into
OWASP:masterfrom
exwar:feature/node-docker-only-to-omit

Conversation

@exwar

@exwar exwar commented Jan 2, 2024

Copy link
Copy Markdown
Contributor

npm ci --only=productionnpm ci --omit=dev

Thank you for submitting a Pull Request (PR) to the Cheat Sheet Series.

🚩 If your PR is related to grammar/typo mistakes, please double-check the file for other mistakes in order to fix all the issues in the current cheat sheet.

Please make sure that for your contribution:

  • In case of a new Cheat Sheet, you have used the Cheat Sheet template.
  • All the markdown files do not raise any validation policy violation, see the policy.
  • All the markdown files follow these format rules.
  • All your assets are stored in the assets folder.
  • All the images used are in the PNG format.
  • Any references to websites have been formatted as [TEXT](URL)
  • You verified/tested the effectiveness of your contribution (e.g., the defensive code proposed is really an effective remediation? Please verify it works!).
  • The CI build of your PR pass, see the build status here.

If your PR is related to an issue, please finish your PR text with the following line:

This PR covers issue #1269.

@szh szh linked an issue Jan 3, 2024 that may be closed by this pull request

@szh szh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, LGTM!

@szh
szh merged commit 0606186 into OWASP:master Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update: Node.js Docker Cheat Sheet

3 participants