iShare commited on
Commit
69ee39a
·
1 Parent(s): 7437646

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -12,4 +12,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
  COPY . .
13
 
14
  #CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
15
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
 
 
 
12
  COPY . .
13
 
14
  #CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
15
+ #CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
16
+ CMD ["gunicorn", "main:app", "-b", "0.0.0.0:7860"]
17
+ #如何设置Dockerfile:https://huggingface.co/docs/hub/spaces-sdks-docker