cicd-java-spring-boot/Dockerfile
2023-02-01 14:11:40 +00:00

4 lines
112 B
Docker

FROM openjdk:11
ARG JAR_NAME
COPY build/libs/${JAR_NAME} ${JAR_NAME}
ENTRYPOINT ["java", "-jar", "/${JAR_NAME}"]