Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Replace npm i with npm ci for build efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEgghead27 committed Apr 22, 2024
1 parent ad59064 commit 961e513
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 @@ -8,7 +8,7 @@ ARG CLOUDINARY_URL
ENV SEQUELIZE_URL=$BUILD_DATABASE_URL
ENV ClOUDINARY_URL=$ClOUDINARY_URL
ENV NODE_ENV production
RUN npm install --production && npm cache clean --force
RUN npm ci --omit=dev && npm cache clean --force
ENV PORT 80
EXPOSE 80
CMD [ "npm", "start" ]

0 comments on commit 961e513

Please sign in to comment.