From ed13f002b12a5c8c65d08ab81f510efaffcbc560 Mon Sep 17 00:00:00 2001 From: Sergio Fenoll Date: Thu, 16 Nov 2023 22:56:15 +0100 Subject: [PATCH] feat: use gunicorn in dev mode --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 46e4931..bf12228 100644 --- a/start.sh +++ b/start.sh @@ -2,7 +2,7 @@ set -eu if [ ${MODE:-""} == "development" ]; then if [ -f /app/requirements.txt ]; then pip install -r /app/requirements.txt; fi - exec python web.py + exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE" else exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE" fi