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