edwagbb commited on
Commit
5316bfa
·
verified ·
1 Parent(s): 5000bf5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -6,9 +6,9 @@ ENV localrepoPath /tmp/okok
6
 
7
  COPY <<EOF /start.sh
8
  #!/bin/bash
9
- retry=true
10
  echo hello!
11
- while $retry; do
12
  echo starting!
13
  export Interval=10000 &&\
14
  git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
@@ -19,7 +19,7 @@ while $retry; do
19
  export func_dir=$localrepoPath/functions &&\
20
  export static_dir=$localrepoPath/static &&\
21
  (node index.js & node /tmp/gitpipelocal/index.js) &&\
22
- retry=false
23
  sleep 10
24
  done
25
  echo ok!
 
6
 
7
  COPY <<EOF /start.sh
8
  #!/bin/bash
9
+ export retry=true
10
  echo hello!
11
+ while [ "$retry" = "true" ]; do
12
  echo starting!
13
  export Interval=10000 &&\
14
  git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
 
19
  export func_dir=$localrepoPath/functions &&\
20
  export static_dir=$localrepoPath/static &&\
21
  (node index.js & node /tmp/gitpipelocal/index.js) &&\
22
+ $retry=false
23
  sleep 10
24
  done
25
  echo ok!