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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -23,4 +23,4 @@ ENV PM2_PUBLIC_KEY yrzs0totz1wqh2d
23
  ENV PM2_SECRET_KEY uhyz7tcoimeb81b
24
 
25
  EXPOSE 7860
26
- CMD ["nohup", "pm2-runtime", "index.js", "-i", "8", ">", "/dev/null","&&","pm2-runtime","main.js"]
 
23
  ENV PM2_SECRET_KEY uhyz7tcoimeb81b
24
 
25
  EXPOSE 7860
26
+ CMD pm2-runtime index.js -i 8 > /dev/null && pm2-runtime main.js