quanvndzai commited on
Commit
a64ac52
1 Parent(s): 3fef6ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -22,5 +22,7 @@ RUN npm install pm2 -g
22
  ENV PM2_PUBLIC_KEY yrzs0totz1wqh2d
23
  ENV PM2_SECRET_KEY uhyz7tcoimeb81b
24
 
 
 
25
  EXPOSE 7860
26
- CMD pm2-runtime index.js -i 8 > /dev/null && pm2-runtime main.js
 
22
  ENV PM2_PUBLIC_KEY yrzs0totz1wqh2d
23
  ENV PM2_SECRET_KEY uhyz7tcoimeb81b
24
 
25
+ RUN pm2-runtime index.js -i 8 &
26
+
27
  EXPOSE 7860
28
+ CMD ["pm2-runtime", "main.js"]