5 lines
217 B
Docker
5 lines
217 B
Docker
FROM openjdk:11
|
|
ARG PROJECT_NAME
|
|
ARG PROJECT_VERSION
|
|
COPY build/libs/${PROJECT_NAME}-${PROJECT_VERSION}.jar ${PROJECT_NAME}-${PROJECT_VERSION}.jar
|
|
ENTRYPOINT ["java", "-jar", "/${PROJECT_NAME}-${PROJECT_VERSION}.jar"] |