浏览代码

missprint

Tomishinets Vladimir 3 年之前
父节点
当前提交
f1f2128b33
共有 1 个文件被更改,包括 3 次插入1 次删除
  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