Skip to content

Commit

Permalink
feat: Improving npm install in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeluxe committed Jul 24, 2023
1 parent 417681b commit 589fce4
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,5 +8,5 @@ FROM node:20-alpine
WORKDIR /app
COPY --from=builder ./app/dist ./dist
COPY package.json .
RUN npm install --production
RUN npm install --omit=dev
CMD ["npm", "run" ,"start"]

0 comments on commit 589fce4

Please sign in to comment.