From 084e5a2aafcb78e4080b08d3b82c732a46ecdf00 Mon Sep 17 00:00:00 2001 From: 7677865466 <121405831+7677865466@users.noreply.github.com> Date: Thu, 4 Jun 2026 23:50:02 +0200 Subject: [PATCH] Update PDF dependency for web variant (#2739) Adding PDF dependency by default for web variant as a search will result in an error without installing this. In case it is not installed it maigret web will return to the landing page and will present an error in the logs. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 77f0703..072c455 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ ENV FLASK_HOST=0.0.0.0 # Web UI variant: auto-launches the web interface on $PORT FROM base AS web +RUN pip install --no-cache-dir '.[pdf]' ENV PORT=5000 EXPOSE 5000 ENTRYPOINT ["sh", "-c", "exec maigret --web \"$PORT\""]