Skip to content

Commit

Permalink
chore: avoid running npm scripts during start
Browse files Browse the repository at this point in the history
  • Loading branch information
larwaa committed Jul 14, 2023
1 parent 1c2a447 commit 09fdbe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ COPY --from=builder /usr/src/app/package.json ./package.json
COPY --from=builder /usr/src/app/node_modules ./node_modules
COPY --from=builder /usr/src/app/dist ./dist

CMD ["npm", "run", "start"]
CMD ["node", "./dist/index.js"]

0 comments on commit 09fdbe1

Please sign in to comment.