url ping
Browse files- 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
|
|
|
|
| 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"
|