From 710e811f6e6f65ae1eca200a6fafeeece7da0f3c Mon Sep 17 00:00:00 2001 From: DongZeLiang <2746733890@qq.com> Date: Mon, 29 Jul 2024 15:23:45 +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=A8UTF-8?= =?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 --- .idea/.gitignore | 8 ++++++++ .idea/encodings.xml | 15 +++++++++++++++ .idea/misc.xml | 39 +++++++++++++++++++++++++++++++++++++++ .idea/vcs.xml | 6 ++++++ Dockerfile | 2 +- 5 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..f649f0f --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..84b9835 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..9114b38 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + Ali-Check + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6d1deca..171ef88 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"]