Skip to content

Commit

Permalink
remove devDependencies in production final docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
menduz authored Mar 18, 2024
1 parent 49ad57c commit c82e6d4
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 @@ -23,7 +23,7 @@ RUN yarn build
RUN yarn test

# remove devDependencies, keep only used dependencies
RUN yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile --production

########################## END OF BUILD STAGE ##########################

Expand Down

0 comments on commit c82e6d4

Please sign in to comment.