9 lines
142 B
Bash
9 lines
142 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Start Gunicorn
|
|
gunicorn --bind 127.0.0.1:8000 --workers 4 --timeout 120 app:app &
|
|
|
|
# Start Nginx
|
|
nginx -g 'daemon off;'
|