Use start_alwrity_backend.py as entry point in Procfile

This commit is contained in:
ajaysi
2026-04-06 09:01:20 +05:30
parent 71c0e2ed46
commit 3c79073a10

View File

@@ -1,3 +1,3 @@
# Use gunicorn with app:app for faster startup # Use start_alwrity_backend.py for deployment
# Gunicorn binds to port immediately, then loads app in background # This script handles all bootstrap logic and starts uvicorn
web: gunicorn app:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT --timeout 600 web: python start_alwrity_backend.py --production