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

5 lines
139 B
Docker

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