dockerfile update
This commit is contained in:
parent
d2e4726655
commit
bb722b40dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue