项目启动设置字符集

master
李东佳 2024-07-31 20:05:18 +08:00
parent 97b13e7210
commit a6db4bd61d
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ VOLUME ["/home/logs/cloud-gateway"]
COPY ./target/cloud-gateway.jar /home/app.jar
#构建启动命令
ENTRYPOINT ["java", "-jar"]
ENTRYPOINT ["java", "-Dfile.encoding=utf-8", "-jar"]
CMD ["/home/app.jar"]