From b559d5660d0ba69038e863af38f51f053744082f Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 24 Jan 2026 19:23:26 -0500 Subject: [PATCH] beef up gunicorn --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2f70489..b61936b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] +