Skip to content

Commit 07f4976

Browse files
committed
✨ Configuring docker (finish).
1 parent dc799c6 commit 07f4976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ EXPOSE 3000
2424
# The node user is provided in the Node.js Alpine base image
2525
USER node
2626

27-
# Run npm start script when container starts
28-
CMD [ "npm", "start" ]
27+
# Run npm start script with PM2 when container starts
28+
CMD [ "pm2-runtime", "npm", "--", "start" ]

0 commit comments

Comments
 (0)