From: Radek Czajka Date: Fri, 27 Nov 2026 19:54:36 +0000 (+0100) Subject: Forgotten tesseract and imagemagick X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/03ce6b70689f0c19d3f5ad56a60c9cb212cf59c6 Forgotten tesseract and imagemagick --- diff --git a/Dockerfile b/Dockerfile index e4fcb807..db53e2f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,11 @@ FROM python:3.10-slim-trixie AS base ARG UID=8200 ARG GID=8200 +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + imagemagick tesseract-ocr tesseract-ocr-pol \ + && rm -rf /var/lib/apt/lists/* + COPY requirements/requirements.txt requirements.txt RUN --mount=type=cache,target=/root/.cache/pip \