1 2 3 4
FROM openjdk:11-jdk-alpine ARG JAR_FILE=./build/libs/src.jar COPY ${JAR_FILE} src.jar ENTRYPOINT ["java", "-jar", "/src.jar"]