feat: add xrechnung to pdf visualization/parser

This commit is contained in:
Marcel2508
2024-12-14 21:18:25 +01:00
parent 740bb39d7a
commit ff25c8025a
12 changed files with 214 additions and 2 deletions

View File

@@ -118,7 +118,9 @@ ARG RUNTIME_PACKAGES="\
zlib1g \
# Barcode splitter
libzbar0 \
poppler-utils"
poppler-utils \
# XRechnung
default-jre"
# Install basic runtime packages.
# These change very infrequently
@@ -160,6 +162,8 @@ RUN set -eux \
&& echo "Installing supervisor" \
&& python3 -m pip install --default-timeout=1000 --upgrade --no-cache-dir supervisor==4.2.5
RUN curl -o /usr/local/bin/mustang-cli.jar https://github.com/ZUGFeRD/mustangproject/releases/download/core-2.15.1/Mustang-CLI-2.15.1.jar && chmod +x /usr/local/bin/mustang-cli.jar
# Copy gunicorn config
# Changes very infrequently
WORKDIR /usr/src/paperless/