BraydenMoore commited on
Commit
49b6885
·
1 Parent(s): ef06905
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -28,4 +28,4 @@ COPY --chown=user . $HOME/app
28
  # For environments with multiple CPU cores, increase the number of workers
29
  # to be equal to the cores available.
30
  # Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
31
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
28
  # For environments with multiple CPU cores, increase the number of workers
29
  # to be equal to the cores available.
30
  # Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
31
+ CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app --port 7860