Soumik555 commited on
Commit
0d56c08
·
1 Parent(s): fbda383
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -43,4 +43,4 @@ RUN chown -R 1000:1000 /app && \
43
  EXPOSE 7860
44
 
45
  # Keep-alive command (pings every 5 minutes) + start Uvicorn
46
- CMD bash -c "while true; do curl -s http://localhost:7860/ping >/dev/null && sleep 300; done & uvicorn controller:app --host 0.0.0.0 --port 7860"
 
43
  EXPOSE 7860
44
 
45
  # Keep-alive command (pings every 5 minutes) + start Uvicorn
46
+ CMD bash -c "while true; do curl -s https://soumik555-fastapi.hf.space/ping >/dev/null && sleep 300; done & uvicorn controller:app --host 0.0.0.0 --port 7860"