Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -11,4 +11,4 @@ COPY . .
|
|
| 11 |
|
| 12 |
# Hugging Face Spaces dynamically assign the PORT variable, usually 7860
|
| 13 |
# Uvicorn will bind to this port
|
| 14 |
-
CMD ["sh", "-c", "uvicorn
|
|
|
|
| 11 |
|
| 12 |
# Hugging Face Spaces dynamically assign the PORT variable, usually 7860
|
| 13 |
# Uvicorn will bind to this port
|
| 14 |
+
CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]
|