cicd-java-spring-boot/Dockerfile

4 lines
112 B
Docker
Raw Normal View History

2023-02-01 14:11:40 +00:00
FROM openjdk:11
ARG JAR_NAME
COPY build/libs/${JAR_NAME} ${JAR_NAME}
ENTRYPOINT ["java", "-jar", "/${JAR_NAME}"]