diff --git a/Dockerfile b/Dockerfile index 5d08ad5..92acc5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,5 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone 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 b1d82b4..581b128 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