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