Simplify Dockerfile by removing redundant Gradle-related copy steps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Urban Modig
2025-10-08 16:59:59 +02:00
parent cfbdd3bfdb
commit d09ff96bec

View File

@ -3,11 +3,8 @@ FROM gradle:8.10.2-jdk21-alpine AS build-base
WORKDIR /workspace
# Pre-copy only files that affect dependency resolution
COPY settings.gradle.kts settings.gradle.kts
COPY settings.gradle settings.gradle
COPY build.gradle.kts build.gradle.kts
COPY build.gradle build.gradle
COPY gradle gradle
COPY gradlew gradlew
# Warm Gradle wrapper & dependency cache (layer-cached in the image)