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

5 lines
144 B
Docker
Raw Normal View History

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