Dekode commited on
Commit
3a8f9e7
1 Parent(s): abaa1b7

Update Dockerfile

Browse files

bind the port to the gunicorn config

Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -28,4 +28,4 @@ COPY --chown=user . $HOME/app
28
  EXPOSE 7755
29
 
30
  # Start the FastAPI app on port 7860, the default port expected by Spaces
31
- CMD ["gunicorn","-k"," uvicorn.workers.UvicornWorker","app:app"]
 
28
  EXPOSE 7755
29
 
30
  # Start the FastAPI app on port 7860, the default port expected by Spaces
31
+ CMD ["gunicorn","-k"," uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7755", "app:app"]