java-tutorials/docker-modules/docker-java-jar/Dockerfile

5 lines
133 B
Docker

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