Added PM2 and check if header response set.

This commit is contained in:
Patrick Fic
2022-06-02 14:44:04 -07:00
parent 5c2e08ae15
commit 4ae4092490
5 changed files with 67 additions and 26 deletions

View File

@@ -24,5 +24,7 @@ RUN apt-get update && apt-get install -y \
RUN npm run build
RUN npm install pm2 -g
EXPOSE 8000
CMD [ "npm", "start" ]
CMD [ "pm2-runtime", "ecosystem.config.js" ]