From edaa39ed36b6ccb318346a1ca4b7925e10a6c3f6 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 2 Feb 2023 00:45:44 +0000 Subject: [PATCH] environment test --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd7d9c4..76bbffc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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}"] \ No newline at end of file +COPY build/libs/${PROJECT_NAME}-${PROJECT_VERSION}.jar ${PROJECT_NAME}-${PROJECT_VERSION}.jar +ENTRYPOINT ["java", "-jar", "/${PROJECT_NAME}-${PROJECT_VERSION}.jar"] \ No newline at end of file