2024-07-14 00:58:12 +00:00
|
|
|
# 添加 Java 17 镜像来源
|
|
|
|
FROM openjdk:17
|
|
|
|
|
|
|
|
# springboot 端口
|
|
|
|
EXPOSE 3536
|
|
|
|
|
|
|
|
# 作者
|
|
|
|
LABEL maintainer="spyn <2960474346@qq.com>"
|
|
|
|
|
|
|
|
# 添加 Spring Boot 包
|
2024-07-14 01:10:54 +00:00
|
|
|
ADD target/TakeawaySystemServer-*.jar app.jar
|
2024-07-14 00:58:12 +00:00
|
|
|
|
|
|
|
# 执行启动命令
|
|
|
|
ENTRYPOINT ["java","-Duser.timezone=GMT+8","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
|