Skip to content

Commit

Permalink
✨ Configuring docker (finish).
Browse files Browse the repository at this point in the history
  • Loading branch information
AlienDev66 committed Apr 15, 2021
1 parent dc799c6 commit 07f4976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ EXPOSE 3000
# The node user is provided in the Node.js Alpine base image
USER node

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

0 comments on commit 07f4976

Please sign in to comment.