mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
feat(pigx-boot): 在 Dockerfile 中添加中文字体支持
- 安装 wqy-microhei-fonts 以解决词云中文显示问题 - 清理 yum 缓存以优化镜像大小
This commit is contained in:
1 parent
4868f0d213
commit
7015e4704c
1 file changed
+3
@@ -2,6 +2,9 @@ FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/java:21-anolis
|
||||
|
||||
WORKDIR /pigx-boot
|
||||
|
||||
# 安装中文字体(解决词云中文显示问题)
|
||||
RUN yum install -y wqy-microhei-fonts && yum clean all
|
||||
|
||||
ARG JAR_FILE=target/pigx-boot.jar
|
||||
|
||||
COPY ${JAR_FILE} app.jar
|
||||
|
||||
Reference in new issue
Block a user