modified: Dockerfile

modified:   README.md
	modified:   app.py
This commit is contained in:
SimolZimol
2025-10-26 19:20:32 +01:00
parent 09b0b2f3b7
commit 347902d518
3 changed files with 33 additions and 4 deletions

View File

@@ -26,5 +26,5 @@ ENV DEMO=$DEMO
EXPOSE 5000
# Production server
CMD ["gunicorn", "-w", "3", "-b", "0.0.0.0:5000", "app:app"]
# Production server (use shell form so $PORT expands in Coolify)
CMD gunicorn -w ${WEB_CONCURRENCY:-3} -b 0.0.0.0:${PORT:-5000} app:app