beef up gunicorn

This commit is contained in:
2026-01-24 19:23:26 -05:00
parent 3e05f6ff74
commit b559d5660d

View File

@@ -18,5 +18,6 @@ COPY static/ ./static
# Expose the Flask port
EXPOSE 5000
# Run the app with Gunicorn
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
# Run the app with Gunicorn, 4 workers, 2 threads each
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app", "-w", "4", "--threads", "2"]