Fixed starting command

This commit is contained in:
MangoPig
2026-02-21 23:13:27 +00:00
parent 3b95d65e2d
commit 50ed6e48f5
+1 -1
View File
@@ -29,7 +29,7 @@ services:
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
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:
test: ["CMD", "curl", "-sf", "http://localhost:5001/health"]
interval: 30s