diff --git a/Dockerfile b/Dockerfile index e155ca9..8bc8a8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,11 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends \ build-essential \ libpq-dev \ + libpango-1.0-0 \ + libpangoft2-1.0-0 \ + libcairo2 \ + libgdk-pixbuf2.0-0 \ + libffi-dev \ && rm -rf /var/lib/apt/lists/* WORKDIR /app @@ -50,6 +55,11 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends \ libpq5 \ curl \ + libpango-1.0-0 \ + libpangoft2-1.0-0 \ + libcairo2 \ + libgdk-pixbuf2.0-0 \ + libffi8 \ && rm -rf /var/lib/apt/lists/* \ && groupadd -g 1000 appuser \ && useradd -m -u 1000 -g appuser appuser diff --git a/requirements.txt b/requirements.txt index e61f3e5..cbe275b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -42,6 +42,9 @@ jinja2>=3.1 greenlet>=3.0 openpyxl>=3.1 +# PDF generation +weasyprint>=62.0 + # Monitoring prometheus-client>=0.20 structlog>=24.0