部署文档

This commit is contained in:
石皮幼鸟 2024-07-14 09:10:54 +08:00
parent 879d139c32
commit 4d1d1d053e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ EXPOSE 3536
LABEL maintainer="spyn <2960474346@qq.com>" LABEL maintainer="spyn <2960474346@qq.com>"
# 添加 Spring Boot 包 # 添加 Spring Boot 包
ADD target/takeaway-*.jar app.jar ADD target/TakeawaySystemServer-*.jar app.jar
# 执行启动命令 # 执行启动命令
ENTRYPOINT ["java","-Duser.timezone=GMT+8","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"] ENTRYPOINT ["java","-Duser.timezone=GMT+8","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]