dockerfile fixes
This commit is contained in:
parent
c898227035
commit
a11e2c300d
|
@ -19,7 +19,7 @@ RUN rm -f /build/web/src/main/resources/logging/*.xml
|
|||
WORKDIR /build/
|
||||
|
||||
#RUN mvn package -q
|
||||
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} 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} -P${PROFILE} clean package
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ COPY notification /build/notification/
|
|||
COPY notification-web /build/notification-web/
|
||||
COPY settings.xml /root/.m2/settings.xml
|
||||
RUN rm -f /build/notification-web/src/main/resources/config/app.env
|
||||
RUN rm -f /build/notification-web/src/main/resources/config/*-dev.yml
|
||||
RUN rm -f /build/notification-web/src/main/resources/config/*-devel.yml
|
||||
RUN rm -f /build/notification-web/src/main/resources/logging/*.xml
|
||||
RUN rm -f /build/notification-web/src/main/resources/certificates/*.crt
|
||||
|
||||
|
|
Loading…
Reference in New Issue