diff --git a/Dockerfile b/Dockerfile index d7aad0f..2d36638 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,5 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone VOLUME ["/home/logs/cloud-file","/home/uploadPath"] #拷贝执行文件 COPY ./target/cloud-file.jar /home/app.jar -ENTRYPOINT ["java","-jar"] +ENTRYPOINT ["java","-Dfile.encoding=utf8","-jar"] CMD ["/home/app.jar"] diff --git a/pom.xml b/pom.xml index 2236d83..f97a46b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,11 +5,11 @@ com.muyu cloud-server-parent - 3.6.3 + 3.6.4 4.0.0 - cloud-file + cloud-modules-file 1.0.0