feat: tilføj rigtig PDF download via WeasyPrint
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 58s
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 58s
- /download route genererer PDF server-side - PDF ser ud som hjemmesiden (ikke browser-print) - Kompakt print-CSS til 1 A4-side - Knap downloader direkte i stedet for at åbne print-dialog
This commit is contained in:
@@ -14,6 +14,15 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libpango-1.0-0 \
|
||||
libpangoft2-1.0-0 \
|
||||
libharfbuzz0b \
|
||||
libfontconfig1 \
|
||||
libcairo2 \
|
||||
fonts-liberation \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --upgrade --no-cache-dir pip
|
||||
|
||||
COPY requirements.txt ./
|
||||
|
||||
Reference in New Issue
Block a user