edwagbb commited on
Commit
b130579
·
verified ·
1 Parent(s): 8a7d7c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- 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 &&\
 
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 &&\