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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -11,7 +11,8 @@ WORKDIR /app
11
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  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", "=", "https://$SPACE_HOST", "uvicorn", "main:server", "--host", "0.0.0.0", "--port", "7860"]
 
11
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  COPY --chown=user ./main.py main.py
14
+ COPY --chown=user ./start.sh start.sh
15
 
16
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
17
 
18
+ CMD ["/bin/sh", "start.sh"]