docling-studio/document-parser/requirements.txt
Pier-Jean Malandrino 0b544bdaef chore(#254): slim latest-local image (multi-stage + opt-in reasoning)
- Move docling-agent + mellea out of requirements.txt into a dedicated
  requirements-reasoning.txt. They are no longer pulled into latest-remote
  (regression fix) nor into latest-local by default.
- Dockerfile: split into builder-remote / builder-local / runtime-base
  stages. The runtime image carries no pip and no build cache; the source
  is COPYed only in the final stages so a code-only change reuses every
  pip-install layer.
- Add WITH_REASONING build-arg (default false) on the local target. Set to
  true to bundle the R&D reasoning-trace deps for a local-reasoning image.
- Harden .dockerignore: tests/, data/, uploads/, IDE files, stray
  node_modules / package-lock.json, the one-shot migrate_06.py utility.
- Set HF_HOME so the Docling/HF model cache lands in a deterministic
  appuser-owned path that compose can mount as a volume.
2026-05-11 09:38:32 +02:00

11 lines
293 B
Text

docling-core[chunking]>=2.0.0,<3.0.0
fastapi>=0.115.0,<1.0.0
uvicorn[standard]>=0.32.0,<1.0.0
python-multipart>=0.0.12
pdf2image>=1.17.0,<2.0.0
pillow>=10.0.0,<11.0.0
aiosqlite>=0.20.0,<1.0.0
httpx>=0.27.0,<1.0.0
pypdfium2>=4.0.0,<5.0.0
opensearch-py[async]>=2.6.0,<3.0.0
neo4j>=5.15.0,<6.0.0