Jofthomas commited on
Commit
5af1bed
·
verified ·
1 Parent(s): 98bc29d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -28,8 +28,8 @@ COPY ./index.html /code/index.html
28
 
29
  # Expose the port the app runs on
30
  # Hugging Face Spaces will map this port (default is 7860, but we use 8000 here)
31
- EXPOSE 8000
32
 
33
  # Define the command to run the application
34
  # Use 0.0.0.0 to make it accessible from outside the container
35
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
28
 
29
  # Expose the port the app runs on
30
  # Hugging Face Spaces will map this port (default is 7860, but we use 8000 here)
31
+ EXPOSE 7860
32
 
33
  # Define the command to run the application
34
  # Use 0.0.0.0 to make it accessible from outside the container
35
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]