saravanatanjiro commited on
Commit
a07aaca
·
1 Parent(s): 184ea7c

Changed port to 7860 for Hugging Face

Browse files
Files changed (1) hide show
  1. 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
- # Expose the port FastAPI will run on
16
- EXPOSE 8000
17
 
18
- # Command to run the server
19
- CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000"]
 
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"]