frascuchon HF staff commited on
Commit
bc69c66
·
verified ·
1 Parent(s): e34423f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -14,4 +14,4 @@ COPY --chown=user ./main.py main.py
14
 
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
 
17
- CMD ["uvicorn", "main:server", "--host", "0.0.0.0", "--port", "7860"]
 
14
 
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
 
17
+ CMD ["WEBHOOK_SERVER_URL=$SPACE_HOST" "uvicorn", "main:server", "--host", "0.0.0.0", "--port", "7860"]