diff --git a/Dockerfile b/Dockerfile index 6af92ce..6e51c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,5 +15,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 b22e809..8ce71e8 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