|
@@ -19,6 +19,8 @@ RUN apk add --update wget figlet unzip maven openjdk8 git openssh \
|
|
&& rm -rf /root/.ssh/id_rsa
|
|
&& rm -rf /root/.ssh/id_rsa
|
|
|
|
|
|
FROM registry.sdsys.ru/iru/iru-base:7.6
|
|
FROM registry.sdsys.ru/iru/iru-base:7.6
|
|
|
|
+ENV DB_CLUSTER=mongodb1:27017,mongodb2:27018,mongodb3:27019 \
|
|
|
|
+ SERVER_PORT=9000
|
|
HEALTHCHECK --start-period=30s --interval=15s --timeout=5s --retries=2 CMD curl -f 127.0.0.1:${SERVER_PORT} || exit 1
|
|
HEALTHCHECK --start-period=30s --interval=15s --timeout=5s --retries=2 CMD curl -f 127.0.0.1:${SERVER_PORT} || exit 1
|
|
COPY --from=build /web-registration-cloud/promo/build/libs/promo-0.0.1-SNAPSHOT.war /opt/
|
|
COPY --from=build /web-registration-cloud/promo/build/libs/promo-0.0.1-SNAPSHOT.war /opt/
|
|
COPY --from=build /tmp/version /tmp/
|
|
COPY --from=build /tmp/version /tmp/
|