Патч
All checks were successful
Build And Push / publish (push) Successful in 4m45s

This commit is contained in:
2025-12-02 11:38:31 +03:00
parent f0d72e6af9
commit 1a45238dfc
12 changed files with 12825 additions and 7 deletions

View File

@ -67,6 +67,16 @@ FROM builder-base AS production
WORKDIR /app
# ────────────────────── WEASYPRINT SYSTEM DEPENDENCIES ──────────────────────
# These are the exact packages required for WeasyPrint to work on Debian Bookworm
RUN apt-get update && \
apt-get install -y gcc libpq-dev \
libcairo2 libcairo2-dev libpangocairo-1.0-0 weasyprint && \
apt clean && \
rm -rf /var/cache/apt/*
# ─────────────────────────────────────────────────────────────────────────────
RUN chown -R appuser:appuser /app
COPY --from=python-base /app/.python /app/.python