add profile env
This commit is contained in:
parent
8130d22716
commit
e2bf6eaea6
|
@ -28,9 +28,9 @@ RUN rm -f /build/web/src/main/resources/config/*-dev.yml
|
|||
|
||||
WORKDIR /build/
|
||||
COPY . .
|
||||
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} dependency:go-offline
|
||||
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline
|
||||
# Build project
|
||||
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} clean package
|
||||
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package
|
||||
|
||||
######################################## Run Stage ########################################
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
|
|
Loading…
Reference in New Issue