Utiliser Gunicorn en production

This commit is contained in:
2026-08-09 08:07:39 +00:00
parent 6e5d15c708
commit 23852edeec
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -16,4 +16,5 @@ USER appuser
EXPOSE 5000 EXPOSE 5000
CMD ["python", "run.py"] #CMD ["python", "run.py"]
CMD ["gunicorn","--bind","0.0.0.0:5000","--workers","3","run:app"]
+1
View File
@@ -22,3 +22,4 @@ typing_extensions==4.16.0
urllib3==2.7.0 urllib3==2.7.0
Werkzeug==3.1.8 Werkzeug==3.1.8
WTForms==3.1.2 WTForms==3.1.2
gunicorn