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"] +