Spaces:
Runtime error
Runtime error
Commit ·
fc75c80
1
Parent(s): 499884f
Update dockerfile
Browse files- 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 exec gunicorn --bind :
|
|
|
|
| 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 0.0.0.0:7860 --workers 1 --threads 8 --timeout 0 main:app
|