From d69e2d7cbb8aa52b175cd5072d11375be913cfaa Mon Sep 17 00:00:00 2001 From: chentaisen <14615430+chentaisen@user.noreply.gitee.com> Date: Mon, 5 Aug 2024 19:52:26 +0800 Subject: [PATCH] =?UTF-8?q?Dockerfile=E4=BF=AE=E5=A4=8D=20UTF-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5c283a9..ee4dfe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,5 @@ VOLUME ["/home/logs/cloud-system"] COPY ./cloud-pay-server/target/cloud-pay.jar /home/app.jar #构建启动命令 -ENTRYPOINT ["java","-jar"] +ENTRYPOINT ["java","-Dfile.encoding=utf-8","-jar"] CMD ["/home/app.jar"]