🆗 增加dockerFile用于直接部署到docker
This commit is contained in:
8
DockerFile
Normal file
8
DockerFile
Normal 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"]
|
||||
Reference in New Issue
Block a user