java-tutorials/docker/docker-sample-app/Dockerfile

4 lines
102 B
Docker
Raw Normal View History

FROM openjdk:11
COPY target/docker-sample-app-0.0.1.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]