Kashish commited on
Commit
58bd9c7
·
1 Parent(s): 08d6aa3

fix uvicorn exec form

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -15,4 +15,4 @@ RUN python build_index.py
15
  ENV PYTHONUNBUFFERED=1
16
  EXPOSE 7860
17
 
18
- CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]
 
15
  ENV PYTHONUNBUFFERED=1
16
  EXPOSE 7860
17
 
18
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]