Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tomektom authored May 8, 2024
1 parent 6b5eb0d commit 010b13d
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 @@ -48,7 +48,7 @@ RUN pnpm run build
ENV NODE_ENV production

# Running `npm ci` removes the existing node_modules directory and passing in --only=production ensures that only the production dependencies are installed. This ensures that the node_modules directory is as optimized as possible
RUN pnpm i --only=production && pnpm cache clean --force
RUN pnpm i --only=production && pnpm cache clean

USER node

Expand Down

0 comments on commit 010b13d

Please sign in to comment.