Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -18,4 +18,5 @@ EXPOSE 7860
|
|
| 18 |
|
| 19 |
# Run app
|
| 20 |
# Note: Since main.py is in the root on HF Spaces, we use "main:app" instead of "backend.main:app"
|
| 21 |
-
|
|
|
|
|
|
| 18 |
|
| 19 |
# Run app
|
| 20 |
# Note: Since main.py is in the root on HF Spaces, we use "main:app" instead of "backend.main:app"
|
| 21 |
+
# Added --loop asyncio to fix edge-tts issues
|
| 22 |
+
CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--loop", "asyncio"]
|