update:兼容arm架构字体

This commit is contained in:
hrz
2026-01-28 11:34:16 +08:00
parent 086c4a55e6
commit 1c8b271e20
+6 -2
View File
@@ -23,10 +23,14 @@ RUN apk update && \
bash \
fontconfig \
ttf-dejavu \
font-noto-cjk-full \
&& fc-cache -f -v \
&& rm -rf /var/cache/apk/*
# 复制项目自带的中文字体
COPY main/manager-web/public/generator/static/fonts/*.ttf /usr/share/fonts/
# 更新字体缓存
RUN fc-cache -f -v
# 配置Nginx
COPY docs/docker/nginx.conf /etc/nginx/nginx.conf