Assuming more available cores for gunicorn. Updated readme.

This commit is contained in:
edschuy95 2025-07-14 00:00:26 -04:00
parent 6fdae317f9
commit ab741856cb
2 changed files with 16 additions and 2 deletions

View file

@ -23,5 +23,5 @@ COPY . .
# Expose Flask port
EXPOSE 5000
# Launch Gunicorn with 4 workers (adjust for your CPU cores)
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app", "--workers", "4"]
# Launch Gunicorn with 8 workers (adjust for your CPU cores)
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app", "--workers", "8"]