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