bentebbutt commited on
Commit
bf1a335
·
verified ·
1 Parent(s): 5829e16

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +2 -2
run.sh CHANGED
@@ -3,6 +3,6 @@
3
 
4
  cd backend
5
  # Start FastAPI app in the background on port 8000
6
- uvicorn app:app --host 0.0.0.0 --port 8000
7
  # Start Nginx
8
- nginx -g 'daemon off;'
 
3
 
4
  cd backend
5
  # Start FastAPI app in the background on port 8000
6
+ uvicorn app:app --host 0.0.0.0 --port 8000 --workers 1 & echo $! > http_server.pid
7
  # Start Nginx
8
+ nginx -g 'daemon off;'