huanngzh commited on
Commit
f7a5fbf
·
1 Parent(s): f691111
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -61,4 +61,4 @@ COPY --chown=${USER_NAME} ./requirements.txt requirements.txt
61
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
62
 
63
  COPY --chown=${USER_NAME} . /app
64
- CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"]
 
61
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
62
 
63
  COPY --chown=${USER_NAME} . /app
64
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]