Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -2,10 +2,9 @@ FROM neosmemo/memos:stable
|
|
2 |
RUN apk update && apk upgrade && apk add git wget nodejs npm
|
3 |
RUN chmod -R u+rwx,g+rwx,o+rwx /var/opt/memos
|
4 |
RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
|
5 |
-
RUN chmod -R u+rwx,g+rwx,o+rwx /.npm
|
6 |
ENV localrepoPath /var/opt/memos
|
7 |
|
8 |
-
ENTRYPOINT export Interval=10000 &&\
|
9 |
(while true;do git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal && break || sleep 5;done) &&\
|
10 |
cd /tmp/gitpipelocal && npm install &&\
|
11 |
(while true;do git clone $remoteUrlWithToken $localrepoPath && break || sleep 5;done) &&\
|
|
|
2 |
RUN apk update && apk upgrade && apk add git wget nodejs npm
|
3 |
RUN chmod -R u+rwx,g+rwx,o+rwx /var/opt/memos
|
4 |
RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
|
|
|
5 |
ENV localrepoPath /var/opt/memos
|
6 |
|
7 |
+
ENTRYPOINT export Interval=10000 && cd /tmp &&\
|
8 |
(while true;do git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal && break || sleep 5;done) &&\
|
9 |
cd /tmp/gitpipelocal && npm install &&\
|
10 |
(while true;do git clone $remoteUrlWithToken $localrepoPath && break || sleep 5;done) &&\
|