项目启动设置字符集

master
lwj 2024-07-28 10:15:22 +08:00
parent e3357633a8
commit 43f1354362
1 changed files with 1 additions and 1 deletions

View File

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