streaming-docker/api/run.sh

10 lines
284 B
Bash
Executable File

#!/bin/bash
set -e
#exec uwsgi --http-socket :5000 --processes 4 --master --plugin python \
# --lazy-apps --pythonpath /app --module apiserver:app \
# --touch-reload '/app/apiserver.py' --gevent 1000 --http-websockets
exec flask run --host 0.0.0.0 --port 5000 --debugger