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.
This commit is contained in:
7677865466
2026-06-04 23:50:02 +02:00
committed by GitHub
parent 8b418b5ebf
commit 084e5a2aaf
+1
View File
@@ -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\""]