docling-studio/document-parser
Pier-Jean Malandrino 4088a8b8dd chore(#254): bake Docling model checkpoints into the local image
Eliminates the ~1.3 GB cold-start download on the first conversion. The
new BAKE_MODELS build-arg defaults to true; pass --build-arg
BAKE_MODELS=false to skip and keep the smaller 1.9 GB image when the
deployment can tolerate a slow first run.

Drop the hf_cache volume from compose — a named-volume mount on top of
the baked path would mask the prefetched models with an empty volume on
first 'docker compose up'. The image is now self-contained.

Measured on arm64:
  - latest-local without bake : 1.89 GB
  - latest-local WITH bake    : 3.19 GB (still -48% vs 6.09 GB baseline)
2026-05-11 09:38:32 +02:00
..
api feat(#251): /api/stores router + wiring + schemas Pydantic + tests API 2026-05-05 09:38:39 +02:00
domain feat(#251): add Neo4j as a StoreKind 2026-05-05 09:38:39 +02:00
infra feat(#210): feature-flag mode gating + deep-link redirect 2026-05-05 09:38:39 +02:00
persistence feat(#251): SqliteStoreRepository — update/delete/find_by_name/clear_default_except 2026-05-05 09:38:39 +02:00
services feat(#251): add Neo4j as a StoreKind 2026-05-05 09:38:39 +02:00
tests feat(#251): add Neo4j as a StoreKind 2026-05-05 09:38:39 +02:00
tools chore(#206): backfill 0.6.0 doc-centric data model 2026-05-05 09:38:39 +02:00
.dockerignore chore(#254): slim latest-local image (multi-stage + opt-in reasoning) 2026-05-11 09:38:32 +02:00
conftest.py Format backend codebase with ruff 2026-04-02 12:33:07 +02:00
Dockerfile chore(#254): bake Docling model checkpoints into the local image 2026-05-11 09:38:32 +02:00
main.py feat(#251): /api/stores router + wiring + schemas Pydantic + tests API 2026-05-05 09:38:39 +02:00
package-lock.json Add slide on side bar in Studio mode 2026-03-20 16:24:38 +01:00
pyproject.toml Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
pytest.ini Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
requirements-local.txt Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
requirements-reasoning.txt chore(#254): slim latest-local image (multi-stage + opt-in reasoning) 2026-05-11 09:38:32 +02:00
requirements-test.txt feat: add hexagonal architecture tests with pytestarch (#177) 2026-04-29 14:00:00 +02:00
requirements.txt chore(#254): slim latest-local image (multi-stage + opt-in reasoning) 2026-05-11 09:38:32 +02:00