fix(): dockerfile修复

增加java项目启动字符集
master
DongZeLiang 2024-07-29 15:23:08 +08:00
parent 4e8594bed4
commit da6e78775b
2 changed files with 2 additions and 2 deletions

View File

@ -16,5 +16,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,7 +5,7 @@
<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>