edwagbb commited on
Commit
8a7d7c0
·
verified ·
1 Parent(s): 12e3172

Update Dockerfile

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