Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM
|
2 |
USER root
|
3 |
RUN apk update && apk upgrade && apk add git wget nodejs npm
|
4 |
RUN mkdir -p /home/siyuan && chmod -R u+rwx,g+rwx,o+rwx /home/siyuan
|
@@ -10,4 +10,4 @@ ENTRYPOINT export Interval=10000 &&\
|
|
10 |
(while true;do git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal && break || sleep 5;done) &&\
|
11 |
cd /tmp/gitpipelocal && npm install &&\
|
12 |
(while true;do git clone $remoteUrlWithToken $localrepoPath && break || sleep 5;done) &&\
|
13 |
-
(node /tmp/gitpipelocal/index.js & sleep 5 && cd /
|
|
|
1 |
+
FROM neosmemo/memos:stable
|
2 |
USER root
|
3 |
RUN apk update && apk upgrade && apk add git wget nodejs npm
|
4 |
RUN mkdir -p /home/siyuan && chmod -R u+rwx,g+rwx,o+rwx /home/siyuan
|
|
|
10 |
(while true;do git clone https://github.com/edwagbb/GitPipeLocal.git /tmp/gitpipelocal && break || sleep 5;done) &&\
|
11 |
cd /tmp/gitpipelocal && npm install &&\
|
12 |
(while true;do git clone $remoteUrlWithToken $localrepoPath && break || sleep 5;done) &&\
|
13 |
+
(node /tmp/gitpipelocal/index.js & sleep 5 && cd /usr/local/memos && /usr/local/memos/memos )
|