diff --git a/entrypoint.sh b/entrypoint.sh index 4763400..f37274f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -57,7 +57,7 @@ change_ownership /tmp/cwa-book-downloader # Set the command to run based on the environment is_prod=$(echo "$APP_ENV" | tr '[:upper:]' '[:lower:]') if [ "$is_prod" = "prod" ]; then - command="gunicorn -b 0.0.0.0:${FLASK_PORT:-8084} app:app" + command="gunicorn -t 300 -b 0.0.0.0:${FLASK_PORT:-8084} app:app" else command="python3 app.py" fi