Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -2,7 +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
|
|
|
6 |
cd $localrepoPath &&\
|
7 |
npm install &&\
|
8 |
export func_dir=$localrepoPath/functions &&\
|
|
|
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 $remoteUrlWithToken $localrepoPath &&\
|
7 |
cd $localrepoPath &&\
|
8 |
npm install &&\
|
9 |
export func_dir=$localrepoPath/functions &&\
|