Dockerfile文件添加中文编码格式

master
zhang chengzhi 2024-07-29 19:50:24 +08:00
parent cfee32421f
commit 8e716937d7
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 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"]