frascuchon HF staff commited on
Commit
2d8a6a5
1 Parent(s): 6698992

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 "WEBHOOK_SERVER_URL=$SPACE_HOST 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", "=", "https://$SPACE_HOST", "uvicorn", "main:server", "--host", "0.0.0.0", "--port", "7860"]