TakeawaySystemServer/Dockerfile

15 lines
319 B
Docker
Raw Normal View History

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