Merge pull request #2914 from xinnan-tech/test-arm64-docker

update:兼容arm架构字体
This commit is contained in:
欣南科技
2026-01-28 11:34:54 +08:00
committed by GitHub
+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