Update Dockerfile
Browse files- 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 |
-
|
|
|
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
|