项目启动设置字符集

master
LQS 2024-07-28 18:09:19 +08:00
parent 1cca270a93
commit 60b747fd38
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"]