environment test
This commit is contained in:
parent
b66ccf5202
commit
edaa39ed36
|
@ -1,5 +1,5 @@
|
|||
FROM openjdk:11
|
||||
ARG PROJECT_NAME
|
||||
ARG PROJECT_VERSION
|
||||
COPY build/libs/${PROJECT_NAME}-${PROJECT_VERSION} ${PROJECT_NAME}-${PROJECT_VERSION}
|
||||
ENTRYPOINT ["java", "-jar", "/${PROJECT_NAME}-${PROJECT_VERSION}"]
|
||||
COPY build/libs/${PROJECT_NAME}-${PROJECT_VERSION}.jar ${PROJECT_NAME}-${PROJECT_VERSION}.jar
|
||||
ENTRYPOINT ["java", "-jar", "/${PROJECT_NAME}-${PROJECT_VERSION}.jar"]
|
Loading…
Reference in New Issue
Block a user