fix():dockerfile修复

增加java项目启动字符集
master
yangpeng 2024-08-07 01:05:13 +08:00
parent 4e2550331d
commit f0e81ec0e1
2 changed files with 6 additions and 3 deletions

View File

@ -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"]

View File

@ -5,11 +5,14 @@
<parent>
<groupId>com.muyu</groupId>
<artifactId>cloud-server-parent</artifactId>
<version>3.6.3</version>
<version>3.6.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<version>3.6.3</version>
<artifactId>cloud-system</artifactId>
<version>1.0.0</version>
<description>
cloud-modules-system系统模块
</description>