fix(backend): add missing weasyprint dependencies for pdf generation [32788f42]
This commit is contained in:
@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
unzip \
|
||||
fonts-liberation \
|
||||
fontconfig \
|
||||
libappindicator3-1 \
|
||||
libasound2 \
|
||||
libatk-bridge2.0-0 \
|
||||
@@ -25,6 +26,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libxkbcommon0 \
|
||||
libxshmfence-dev \
|
||||
xdg-utils \
|
||||
build-essential \
|
||||
libcairo2 \
|
||||
libpango-1.0-0 \
|
||||
libpangocairo-1.0-0 \
|
||||
libgdk-pixbuf-2.0-0 \
|
||||
libffi-dev \
|
||||
shared-mime-info \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Set Chromium as default browser for Selenium
|
||||
|
||||
@@ -4,3 +4,6 @@ python-dotenv==1.0.1
|
||||
selenium==4.22.0
|
||||
webdriver-manager==4.0.1
|
||||
pandas==2.2.2
|
||||
weasyprint==62.1
|
||||
jinja2==3.1.4
|
||||
pydyf==0.10.0
|
||||
|
||||
Reference in New Issue
Block a user