Spaces:
Sleeping
Sleeping
Commit
·
8c8ff3d
1
Parent(s):
8b875bf
Fix: Set Gunicorn port to 7860 for Hugging Face Spaces (2)
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -24,4 +24,4 @@ COPY . /app
|
|
| 24 |
# -b 0.0.0.0:${PORT}: Bind to the port set in the environment
|
| 25 |
# app:app: module:app instance
|
| 26 |
# Your CMD command should explicitly set the port to 7860
|
| 27 |
-
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "
|
|
|
|
| 24 |
# -b 0.0.0.0:${PORT}: Bind to the port set in the environment
|
| 25 |
# app:app: module:app instance
|
| 26 |
# Your CMD command should explicitly set the port to 7860
|
| 27 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
|