添加持续构建文件

This commit is contained in:
2025-07-02 17:21:04 +08:00
parent 332663f7c6
commit b08fbcc6d4
3 changed files with 87 additions and 1 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
# 使用 OpenJDK 8 镜像构建
FROM openjdk:8-jdk-alpine
# 添加作者信息
LABEL maintainer="123879394@qq.com"
# 复制 jar 包
COPY target/sczx-app.jar app.jar
# 设置 JVM 参数和启动命令
ENTRYPOINT ["java", "-jar", "app.jar"]