modify Dockerfile_test

This commit is contained in:
xiaocanyu 2024-12-24 16:13:19 +08:00
parent f94a551286
commit cd01a4f2fc

View File

@ -11,6 +11,7 @@ RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk
apk add fontconfig &&\ apk add fontconfig &&\
apk --update add unzip &&\ apk --update add unzip &&\
mkdir -p /usr/share/fonts/chinese &&\ mkdir -p /usr/share/fonts/chinese &&\
mkdir -p /usr/share/fonts/korean &&\
cd /tmp &&\ cd /tmp &&\
wget http://kkfileview.keking.cn/fonts.zip &&\ wget http://kkfileview.keking.cn/fonts.zip &&\
unzip -d /usr/share/fonts/chinese fonts.zip &&\ unzip -d /usr/share/fonts/chinese fonts.zip &&\
@ -19,7 +20,7 @@ RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk
mkfontdir &&\ mkfontdir &&\
fc-cache -fv &&\ fc-cache -fv &&\
rm -rf /var/cache/* rm -rf /var/cache/*
COPY ./fonts/* /usr/share/fonts/korean/
COPY ./server/target/crm-print-server-1.0.0.jar / COPY ./server/target/crm-print-server-1.0.0.jar /
WORKDIR / WORKDIR /
EXPOSE 9089 EXPOSE 9089