Commit 0ca42287 authored by hongguangwu's avatar hongguangwu

MVP1.7.12-解决社保打包问题——还原

parent 23a62273
......@@ -9,17 +9,8 @@ ARG JAR_FILE=target/yifu-social-biz.jar
COPY ${JAR_FILE} app.jar
## 解决使用excel工具转png docker乱码没有宋体
# 使用缓存安装 fontconfig hgw 20250625
#RUN --mount=type=cache,target=/var/cache/apk set -xe && apk --no-cache add fontconfig
#RUN set -xe && apk --no-cache add fontconfig
# 先安装字体包(单独作为一层)
RUN apk add --update fontconfig && \
rm -rf /var/cache/apk/*
# 后添加字体文件(变更频率高的操作放后面)
RUN set -xe && apk --no-cache add fontconfig
COPY simsun.ttc /usr/share/fonts/
##end
EXPOSE 5002
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment