Skip to content

Commit

Permalink
feat: use gunicorn in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiofenoll committed Nov 16, 2023
1 parent 3a3a979 commit ed13f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed13f00

Please sign in to comment.