Spaces:
Sleeping
Sleeping
Commit ·
a07aaca
1
Parent(s): 184ea7c
Changed port to 7860 for Hugging Face
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -12,8 +12,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 12 |
COPY cloud_arena_final.py .
|
| 13 |
COPY server.py .
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
EXPOSE
|
| 17 |
|
| 18 |
-
# Command to run the server
|
| 19 |
-
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 12 |
COPY cloud_arena_final.py .
|
| 13 |
COPY server.py .
|
| 14 |
|
| 15 |
+
# Hugging Face Spaces require port 7860
|
| 16 |
+
EXPOSE 7860
|
| 17 |
|
| 18 |
+
# Command to run the server on port 7860
|
| 19 |
+
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
|