edwagbb commited on
Commit
6736106
·
verified ·
1 Parent(s): 1aebe0e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -6,9 +6,9 @@ ENV localrepoPath /tmp/okok
6
  CMD export Interval=10000 &&\
7
  git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
8
  ls /tmp/gitpipelocal &&\
9
- cd /tmp/gitpipelocal && npm install && node /tmp/gitpipelocal/index.js &\
10
  git clone $remoteUrlWithToken $localrepoPath &&\
11
  cd $localrepoPath &&\
12
  npm install &&\
13
  export func_dir=$localrepoPath/functions &&\
14
- npm start || node index.js
 
6
  CMD export Interval=10000 &&\
7
  git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
8
  ls /tmp/gitpipelocal &&\
9
+ cd /tmp/gitpipelocal && npm install &&\
10
  git clone $remoteUrlWithToken $localrepoPath &&\
11
  cd $localrepoPath &&\
12
  npm install &&\
13
  export func_dir=$localrepoPath/functions &&\
14
+ (node index.js & node /tmp/gitpipelocal/index.js )