Soumik Bose commited on
Commit ·
397cca7
1
Parent(s): b04284d
Initial commit
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -50,7 +50,7 @@ EXPOSE $PORT
|
|
| 50 |
# Run FastAPI with Uvicorn
|
| 51 |
CMD bash -c "\
|
| 52 |
while true; do \
|
| 53 |
-
curl -s https://xce009-
|
| 54 |
sleep 300; \
|
| 55 |
done & \
|
| 56 |
uvicorn main:app --host 0.0.0.0 --port ${PORT} --workers 4"
|
|
|
|
| 50 |
# Run FastAPI with Uvicorn
|
| 51 |
CMD bash -c "\
|
| 52 |
while true; do \
|
| 53 |
+
curl -s https://xce009-ocr-api.hf.space/api/v1/ping >/dev/null; \
|
| 54 |
sleep 300; \
|
| 55 |
done & \
|
| 56 |
uvicorn main:app --host 0.0.0.0 --port ${PORT} --workers 4"
|