navindusa commited on
Commit
812903b
·
1 Parent(s): e160237

Update CMD in Dockerfile to use 'fastapi run' for development mode

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -52,4 +52,4 @@ COPY --chown=appuser . $HOME/app
52
  EXPOSE 7860
53
 
54
  # Run the application.
55
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
52
  EXPOSE 7860
53
 
54
  # Run the application.
55
+ CMD fastapi run --reload --host=0.0.0.0 --port=7860