edwagbb commited on
Commit
be93b20
·
verified ·
1 Parent(s): c7e671e

Update Dockerfile

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