Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -3,7 +3,8 @@ ENV PORT 7860
|
|
3 |
RUN apk update && apk upgrade && apk add git
|
4 |
RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
|
5 |
ENV localrepoPath /tmp/okok
|
6 |
-
CMD
|
|
|
7 |
ls /tmp/gitpipelocal &&\
|
8 |
cd /tmp/gitpipelocal && npm install && node /tmp/gitpipelocal/index.js &\
|
9 |
git clone $remoteUrlWithToken $localrepoPath &&\
|
|
|
3 |
RUN apk update && apk upgrade && apk add git
|
4 |
RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
|
5 |
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 &&\
|