上传服务部署

master
陈思豪 2024-07-28 16:12:47 +08:00
parent b614b95a65
commit dfa08cead2
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
VOLUME ["/home/logs/cloud-gateway"] 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"]