Peiyan commited on
Commit
009e100
·
verified ·
1 Parent(s): 2b5e88e

Update deployment/docker/serve.sh

Browse files
Files changed (1) hide show
  1. deployment/docker/serve.sh +1 -6
deployment/docker/serve.sh CHANGED
@@ -1,7 +1,2 @@
1
  #!/bin/bash
2
-
3
- # Start nginx in the background
4
- nginx -g "daemon off;" &
5
-
6
- # Change directory to backend and start Gunicorn
7
- cd backend && exec gunicorn -b 0.0.0.0:5000 --workers=3 -t 600 app:app
 
1
  #!/bin/bash
2
+ nohup nginx -g "daemon off;" & cd backend && gunicorn -b 0.0.0.0:5000 --workers=3 -t 600 "app:app" "$1"