Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0post3
|
| 2 |
-
|
| 3 |
-
|
| 4 |
EXPOSE 8880
|
| 5 |
-
|
| 6 |
-
#
|
| 7 |
-
|
|
|
|
| 1 |
FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0post3
|
| 2 |
+
|
| 3 |
+
# Expose port (though Spaces sets this dynamically)
|
| 4 |
EXPOSE 8880
|
| 5 |
+
|
| 6 |
+
# Use the Hugging Face provided PORT environment variable
|
| 7 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "${PORT}"]
|