diff --git a/Dockerfile b/Dockerfile index 6c98529..b7ae7bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,9 @@ RUN rm -f /build/web/src/main/resources/config/*-dev.yml WORKDIR /build/ -RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean -RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} install +RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline # Build project -RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} package +RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package ######################################## Run Stage ######################################## FROM eclipse-temurin:21-jre-alpine