refactor: Setup using gunicorn

This commit is contained in:
2025-07-16 17:46:20 +00:00
parent 2384edd8a5
commit 0004557bb5
5 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -12,4 +12,4 @@ RUN pip install -r requirements.txt \
&& ./tailwindcss -i ./static/input.css -o ./static/output.css --content "./templates/*.html" --minify \
&& rm tailwindcss
EXPOSE 5000
CMD ["python", "app.py"]
CMD ["gunicorn", "--workers", "2", "--bind", "0.0.0.0:5000", "app:app", "--log-level", "warning"]