项目启动设置字符集

master
DongZeLiang 2024-07-25 16:47:57 +08:00
parent 2b1b5cf9a3
commit d5384fb85e
1 changed files with 1 additions and 1 deletions

View File

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