beef up gunicorn
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user