Vitrous commited on
Commit
3dd23da
1 Parent(s): 09be7a1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -29,7 +29,7 @@ WORKDIR $HOME/app
29
  COPY --chown=user . $HOME/app
30
 
31
  # Start uvicorn server with multiple workers
32
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
33
 
34
  # Expose the port for ngrok and FastAPI
35
  EXPOSE 7860
 
29
  COPY --chown=user . $HOME/app
30
 
31
  # Start uvicorn server with multiple workers
32
+ CMD ["uvicorn", "app:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
33
 
34
  # Expose the port for ngrok and FastAPI
35
  EXPOSE 7860