From 03be05fb176ca6d10460e7136b2f1494d8e63ce7 Mon Sep 17 00:00:00 2001 From: edgar Date: Sun, 22 Nov 2026 07:47:05 -0600 Subject: [PATCH] Docker: Graphviz in the image, so each model version stores its dataflow's drawing as SVG --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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/