[fix]:[20251208][构建docker]
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error

This commit is contained in:
kale 2025-12-07 21:56:24 -05:00
parent fbb6d9f48b
commit e54b9750ae

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# 使用最小的 Java 8 JRE 镜像
FROM openjdk:8-jre-alpine
# 设置工作目录
WORKDIR /app
# 复制生成的 JAR 文件到容器中(使用通配符匹配)
COPY target/*.jar app.jar
# 运行应用
ENTRYPOINT ["java", "-jar", "app.jar"]