Update Dockerfile
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
|
@@ -26,4 +26,12 @@ echo ok!
|
|
| 26 |
EOF
|
| 27 |
RUN chmod -R u+rwx,g+rwx,o+rwx /start.sh
|
| 28 |
|
| 29 |
-
CMD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
EOF
|
| 27 |
RUN chmod -R u+rwx,g+rwx,o+rwx /start.sh
|
| 28 |
|
| 29 |
+
CMD export Interval=10000 &&\
|
| 30 |
+
git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal &&\
|
| 31 |
+
ls /tmp/gitpipelocal &&\
|
| 32 |
+
cd /tmp/gitpipelocal && npm install &&\
|
| 33 |
+
git clone $remoteUrlWithToken $localrepoPath &&\
|
| 34 |
+
cd $localrepoPath &&\
|
| 35 |
+
npm install &&\
|
| 36 |
+
export func_dir=$localrepoPath/functions &&\
|
| 37 |
+
(node index.js & node /tmp/gitpipelocal/index.js)
|