Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ghcr.io/remsky/kokoro-tts-cpu:latest
|
| 2 |
+
|
| 3 |
+
# HF Spaces specific settings
|
| 4 |
+
ENV HOST=0.0.0.0
|
| 5 |
+
ENV PORT=7860
|
| 6 |
+
|
| 7 |
+
# Expose the port HF Spaces expects
|
| 8 |
+
EXPOSE 7860
|
| 9 |
+
|
| 10 |
+
# Run the FastAPI server
|
| 11 |
+
CMD ["uv", "run", "python", "-m", "uvicorn", "api.src.main:app", "--host", "0.0.0.0", "--port", "7860"]
|