fix():dockerfile修复

增加java项目启动字符集
master
xinzirun 2024-07-31 21:03:18 +08:00
parent 8b75fd0a62
commit fa81c953d1
2 changed files with 2 additions and 2 deletions

View File

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

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>