edwagbb commited on
Commit
d31054d
1 Parent(s): 31be515

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM b3log/siyuan
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 /opt/siyuan && /opt/siyuan/kernel --accessAuthCode $accessAuthCode --lang zh_CN )
 
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 )