🆗 增加dockerFile用于直接部署到docker

This commit is contained in:
2025-03-21 15:16:09 +08:00
parent 25d326e4a7
commit f789b3b255
6 changed files with 20 additions and 7 deletions

8
DockerFile Normal file
View File

@@ -0,0 +1,8 @@
FROM openjdk:8-jre
LABEL name="hoperun-custom-sign"
MAINTAINER li@2ha.me
WORKDIR /
ADD target/hoperun-sign-1.0-SNAPSHOT.jar app.jar
EXPOSE 8982
ENTRYPOINT ["java", "-jar"]
CMD ["app.jar"]