Commit ea7d14c3 authored by hongguangwu's avatar hongguangwu

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

parent 2b3d0111
......@@ -9,8 +9,16 @@ ARG JAR_FILE=target/yifu-social-biz.jar
COPY ${JAR_FILE} app.jar
## 解决使用excel工具转png docker乱码没有宋体
RUN set -xe && apk --no-cache add fontconfig
#RUN set -xe && apk --no-cache add fontconfig
#COPY simsun.ttc /usr/share/fonts/
# 使用缓存安装 fontconfig hgw 20250625
RUN --mount=type=cache,target=/var/cache/apk \
set -xe && \
apk --no-cache add fontconfig
# 添加宋体(仅在 simsun.ttc 变更时重新复制)
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