Skip to content

Commit

Permalink
update npm prune command (#9470)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s authored Aug 12, 2023
1 parent e4dcec6 commit d8480a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci

COPY . /usr/src/app
RUN npm run build
RUN npm prune --production
RUN npm prune --omit=dev
RUN npm cache clean --force

# Use multi-stage build to reduce size
Expand Down

0 comments on commit d8480a6

Please sign in to comment.