diff --git a/app/annotation-service/Dockerfile b/app/annotation-service/Dockerfile index c0748e60..91547386 100644 --- a/app/annotation-service/Dockerfile +++ b/app/annotation-service/Dockerfile @@ -8,6 +8,9 @@ COPY . $APP_HOME COPY build.gradle.kts settings.gradle.kts gradlew $APP_HOME COPY gradle $APP_HOME/gradle +# Give execution rights on the gradlew +RUN chmod +x $APP_HOME/gradlew + RUN ./gradlew build -x test || return 0 COPY . . RUN ./gradlew build -x test