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