java-tutorials/docker-modules/docker-compose/Dockerfile

5 lines
132 B
Docker

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