edwagbb commited on
Commit
ef601d1
·
verified ·
1 Parent(s): 97b4322

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -12,12 +12,14 @@ while true ; do
12
  export Interval=10000 &&\
13
  git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
14
  cd /tmp/gitpipelocal && npm install &&\
 
15
  git clone $remoteUrlWithToken $localrepoPath &&\
16
  cd $localrepoPath &&\
17
  npm install &&\
 
18
  export func_dir=$localrepoPath/functions &&\
19
  export static_dir=$localrepoPath/static &&\
20
- (node index.js & node /tmp/gitpipelocal/index.js)
21
  sleep 10
22
  done
23
  echo ok!
 
12
  export Interval=10000 &&\
13
  git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
14
  cd /tmp/gitpipelocal && npm install &&\
15
+ echo 000 &&\
16
  git clone $remoteUrlWithToken $localrepoPath &&\
17
  cd $localrepoPath &&\
18
  npm install &&\
19
+ echo 111 &&\
20
  export func_dir=$localrepoPath/functions &&\
21
  export static_dir=$localrepoPath/static &&\
22
+ (node $localrepoPath/index.js & node /tmp/gitpipelocal/index.js)
23
  sleep 10
24
  done
25
  echo ok!