Fixed starting command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user