From 77be0dc2a9135b95e0705817f6abae764532c7d4 Mon Sep 17 00:00:00 2001 From: sgiannopoulos Date: Fri, 19 Apr 2024 14:05:22 +0300 Subject: [PATCH] no message --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7cf554b..7164f45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,11 +19,9 @@ RUN rm -f /build/web/src/main/resources/config/*-dev.yml WORKDIR /build/ -RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${DEV_PROFILE_URL} -P${PROFILE} clean -RUN mvn -Drevision=${REVISION} -DciteMavenRepoUrl=${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