Docker: Graphviz in the image, so each model version stores its dataflow's drawing as SVG

This commit is contained in:
2026-11-22 07:47:05 -06:00
parent 0c69140d2e
commit 03be05fb17
+3 -2
View File
@@ -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/