File size: 191 Bytes
8202fe8
72820ab
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/bash

# Start Nginx in the background
nohup nginx -g "daemon off;" &

# Start the Flask application with Gunicorn
cd backend
exec gunicorn -b 0.0.0.0:5000 --workers=3 -t 600 "app:app"