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