Tomishinets Vladimir 3 rokov pred
rodič
commit
f1f2128b33
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      Dockerfile-promo-sdk

+ 3 - 1
Dockerfile-promo-sdk

@@ -3,7 +3,7 @@ ARG git_repo=git@github.com:icruportal/web-sdk-demo.git
 ARG branch=master
 
 COPY id_rsa /root/.ssh/
-RUN apk add --no-cache git openssh curl \
+RUN apk add --no-cache git openssh \
     && printf "Host github.com \n\tStrictHostKeyChecking no" > /root/.ssh/config \
     && git clone ${git_repo} \
     && cd web-sdk-demo && git checkout ${branch} \
@@ -15,6 +15,8 @@ FROM node:alpine
 ARG DB_CLUSTER=mongodb1:27017,mongodb2:27018,mongodb3:27019
 ARG SERVER_PORT=9005
 
+RUN apk add --no-cache curl
+
 USER node
 
 HEALTHCHECK --start-period=40s --interval=15s --timeout=5s --retries=2 CMD curl -f 127.0.0.1:${SERVER_PORT} || exit 1