clean Dockerfile

This commit is contained in:
2025-03-27 13:35:05 +01:00
parent c407ac6251
commit cee57ad2a3

View File

@@ -3,10 +3,8 @@ FROM gradle:latest AS cache
RUN mkdir -p /home/gradle/cache_home RUN mkdir -p /home/gradle/cache_home
ENV GRADLE_USER_HOME=/home/gradle/cache_home ENV GRADLE_USER_HOME=/home/gradle/cache_home
COPY build.gradle.* gradle.properties /home/gradle/app/ COPY build.gradle.* gradle.properties /home/gradle/app/
COPY .editorconfig /home/gradle/app/
COPY gradle /home/gradle/app/gradle
WORKDIR /home/gradle/app WORKDIR /home/gradle/app
RUN gradle clean build -i -x test -x ktlintCheck -x ktlintKotlinScriptCheck RUN gradle build -i -x check
# Stage 2: Build Application # Stage 2: Build Application
FROM gradle:latest AS build FROM gradle:latest AS build