diff --git a/Dockerfile b/Dockerfile index 1757028..cfe349b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,6 @@ 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 c3994df..e003bbf 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