Fixed starting command
This commit is contained in:
@@ -29,7 +29,7 @@ services:
|
|||||||
python3 -c "import easyocr; easyocr.Reader(['en','ch_tra'], gpu=False)"
|
python3 -c "import easyocr; easyocr.Reader(['en','ch_tra'], gpu=False)"
|
||||||
cp -n /opt/app-root/src/.EasyOCR/model/*.pth /opt/app-root/src/.cache/docling/models/EasyOcr/ 2>/dev/null || true
|
cp -n /opt/app-root/src/.EasyOCR/model/*.pth /opt/app-root/src/.cache/docling/models/EasyOcr/ 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
exec uvicorn docling_serve.app:app --host 0.0.0.0 --port 5001
|
exec docling-serve run --host 0.0.0.0 --port 5001
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-sf", "http://localhost:5001/health"]
|
test: ["CMD", "curl", "-sf", "http://localhost:5001/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user