Skip to content

Commit 8a4239b

Browse files
committed
style: Update Dockerfile.prod CMD to use npm start command
1 parent 7338a2a commit 8a4239b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile.prod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD curl
2828

2929
ENV APP_ENV production
3030

31-
RUN npm run db:prepare:prod
32-
33-
CMD ["node", "--no-warnings", "dist/src/server.js"]
31+
# CMD ["node", "--no-warnings", "dist/src/server.js"]
32+
CMD ["npm", "run", "start"]

0 commit comments

Comments
 (0)