diff --git a/Dockerfile b/Dockerfile index 257c5e0..a5ba231 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,10 @@ RUN uv sync --group sqlite --group sqlserver --group postgres \ FROM python:3.12-slim -# Tesseract (with Spanish data) for scanned documents; pytesseract only wraps the binary. +# Tesseract (with Spanish data) for scanned documents; pytesseract only wraps the binary. Graphviz's `dot` draws each +# trained version's dataflow (`diagramas/pipeline.svg`); without it only the `.dot` source is stored. RUN apt-get update && apt-get install -y --no-install-recommends \ - tesseract-ocr tesseract-ocr-spa \ + tesseract-ocr tesseract-ocr-spa graphviz \ && rm -rf /var/lib/apt/lists/* COPY --from=ghcr.io/astral-sh/uv:0.7.9 /uv /uvx /bin/