java-tutorials/docker-modules/docker-images/private-repo/Dockerfile

4 lines
115 B
Docker
Raw Normal View History

FROM openjdk:17-jdk-alpine
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]