Soumik Bose commited on
Commit ·
e8c4183
1
Parent(s): 1aaee5b
added libs
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 https://
|
|
|
|
| 43 |
EXPOSE 7860
|
| 44 |
|
| 45 |
# Keep-alive command (pings every 5 minutes) + start Uvicorn
|
| 46 |
+
CMD bash -c "while true; do curl -s https://code-api-executor.hf.space/ping >/dev/null && sleep 300; done & uvicorn controller:app --host 0.0.0.0 --port 7860"
|