From da6e78775b5a2d5bc8b8b9d7b3e68f9f1fa2db0b Mon Sep 17 00:00:00 2001 From: DongZeLiang <2746733890@qq.com> Date: Mon, 29 Jul 2024 15:23:08 +0800 Subject: [PATCH] =?UTF-8?q?fix():=20dockerfile=E4=BF=AE=E5=A4=8D=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0java=E9=A1=B9=E7=9B=AE=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 680212b..a7d5b92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,5 @@ VOLUME ["/home/logs/cloud-system"] COPY ./target/cloud-system.jar /home/app.jar # 构建启动命令 -ENTRYPOINT ["java", "-jar"] +ENTRYPOINT ["java", "-Dfile.encoding=utf-8", "-jar"] CMD ["/home/app.jar"] diff --git a/pom.xml b/pom.xml index 51c7388..da4a1f5 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.muyu cloud-server-parent - 3.6.3 + 3.6.4 4.0.0