java-tutorials/docker/docker-push-to-private-repo/Dockerfile

4 lines
104 B
Docker
Raw Normal View History

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