diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 82c02f2..8ca4b79 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -2,7 +2,7 @@ node /app/backend/index.js & NODE_ENV=development node /app/workers/index.js & { cd /app/workers/ && NODE_ENV=development yarn run inngest-cli dev -u http://0.0.0.0:3355/background-workers; } & -{ FLASK_ENV=production FLASK_APP=wsgi.py cd document-processor && gunicorn --workers 4 --bind 0.0.0.0:8888 wsgi:api; } & +{ FLASK_ENV=production FLASK_APP=wsgi.py cd document-processor && gunicorn --timeout 300 --workers 4 --bind 0.0.0.0:8888 wsgi:api; } & wait -n exit $?