ethiotech4848 commited on
Commit
c751f2d
·
verified ·
1 Parent(s): e8d162e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -13,5 +13,8 @@ RUN pip install --no-cache-dir -r requirements.txt
13
  # Copy the rest of the application code into the container
14
  COPY . .
15
 
 
 
 
16
  # Command to run the FastAPI application using uvicorn
17
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] # Hugging Face Spaces uses port 7860
 
13
  # Copy the rest of the application code into the container
14
  COPY . .
15
 
16
+ # Expose the port the app runs on
17
+ EXPOSE 7860
18
+
19
  # Command to run the FastAPI application using uvicorn
20
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]