dockerfile update

This commit is contained in:
Alexandros Mandilaras 2024-04-19 13:41:53 +03:00
parent d2e4726655
commit bb722b40dd
1 changed files with 3 additions and 2 deletions

View File

@ -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