BAEL-5633 - dockersing a simple java jar (#12454)

This commit is contained in:
Sumit Pal Singh
2022-07-09 20:12:38 +05:30
committed by GitHub
parent 398ce925d2
commit 7e44426e55
5 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
FROM openjdk:11
MAINTAINER baeldung.com
COPY target/docker-java-jar-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]