Compare commits

..

3 Commits

2 changed files with 4 additions and 2 deletions

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

View File

@ -44,7 +44,8 @@ google-genai==1.2.0
# 文档处理
# --------------------------------------------
markdown==3.7
weasyprint==62.3
weasyprint==59.0
pydyf==0.8.0
# --------------------------------------------
# 数据验证