fix: add fonts-noto-cjk for Chinese font support in PDF export

This commit is contained in:
xucheng 2026-01-23 08:59:35 +08:00
parent f40aed2bc7
commit 2a5e471ddb

View File

@ -42,12 +42,13 @@ RUN install -m 0755 -d /etc/apt/keyrings && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# Finally install WeasyPrint dependencies
# Finally install WeasyPrint dependencies and Chinese fonts
RUN apt-get update && apt-get install -y \
libpango-1.0-0 \
libharfbuzz0b \
libpangoft2-1.0-0 \
libpangocairo-1.0-0 \
fonts-noto-cjk \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app