Spaces:
Sleeping
Sleeping
fix
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -15,6 +15,6 @@ COPY . .
|
|
| 15 |
# Hugging Face Spaces expects applications to run on this port
|
| 16 |
EXPOSE 7860
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
# This
|
| 20 |
-
CMD ["uvicorn", "
|
|
|
|
| 15 |
# Hugging Face Spaces expects applications to run on this port
|
| 16 |
EXPOSE 7860
|
| 17 |
|
| 18 |
+
# --- CORRECTED COMMAND ---
|
| 19 |
+
# This now correctly points to the 'app' variable inside the 'api/index.py' file
|
| 20 |
+
CMD ["uvicorn", "api.index:app", "--host", "0.0.0.0", "--port", "7860"]
|