tecuts commited on
Commit
e2c7091
·
verified ·
1 Parent(s): 3394e4a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -39,10 +39,10 @@ RUN find /app -type d -exec chmod 755 {} \; && \
39
  USER appuser
40
 
41
  # Expose the port the app will run on (common for HF Spaces)
42
- EXPOSE 8000
43
 
44
  # Command to run the application using uvicorn
45
  # - main:app -> finds the 'app' instance in the 'main.py' file
46
  # - --host 0.0.0.0 -> makes the server accessible from outside the container
47
  # - --port 7860 -> matches the EXPOSE directive
48
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
39
  USER appuser
40
 
41
  # Expose the port the app will run on (common for HF Spaces)
42
+ EXPOSE 7860
43
 
44
  # Command to run the application using uvicorn
45
  # - main:app -> finds the 'app' instance in the 'main.py' file
46
  # - --host 0.0.0.0 -> makes the server accessible from outside the container
47
  # - --port 7860 -> matches the EXPOSE directive
48
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]