chore: Update Dockerfile to use pm2-runtime for running the application
Build and Push Docker Images / build-and-push (push) Successful in 31s
Build and Push Docker Images / build-and-push (push) Successful in 31s
This commit is contained in:
@@ -22,6 +22,5 @@ RUN npm install
|
|||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN pm2-runtime "node index.js"
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
CMD ["pm2-runtime" "index.js"]
|
||||||
Reference in New Issue
Block a user