WalidAlHassan commited on
Commit
109dea0
·
1 Parent(s): ae53254
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -23,9 +23,10 @@ RUN pip install --no-cache-dir -r requirements.txt --timeout 100 --index-url htt
23
  # Copy application code
24
  COPY . .
25
 
26
- # Expose the FastAPI port
27
- EXPOSE 8000
 
 
 
28
 
29
- # Run the application
30
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
31
 
 
23
  # Copy application code
24
  COPY . .
25
 
26
+ # Expose port 7860 for Hugging Face Spaces
27
+ EXPOSE 7860
28
+
29
+ # Run FastAPI on port 7860
30
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
31
 
 
 
32