ManiAz09 commited on
Commit
3c84f0e
·
verified ·
1 Parent(s): 1f3d25e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -14,6 +14,8 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
 
17
- RUN curl https://www.duckdns.org/update?domains=chikichiki&token=60d3e998-7fe7-4314-9a5b-c8e8811bb730&verbose=true
18
 
19
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
14
 
15
  COPY --chown=user . /app
16
 
17
+ # RUN curl https://www.duckdns.org/update?domains=chikichiki&token=60d3e998-7fe7-4314-9a5b-c8e8811bb730&verbose=true
18
 
19
+ # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
20
+
21
+ CMD ["sh", "-c", "curl https://www.duckdns.org/update?domains=chikichiki&token=60d3e998-7fe7-4314-9a5b-c8e8811bb730&verbose=true && uvicorn app:app --host 0.0.0.0 --port 7860"]