Docker: Graphviz in the image, so each model version stores its dataflow's drawing as SVG
This commit is contained in:
+3
-2
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user