edwagbb commited on
Commit
da0f559
·
verified ·
1 Parent(s): 1305a14

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -3,7 +3,7 @@ USER root
3
  RUN apk update && apk upgrade && apk add git wget nodejs
4
  RUN mkdir -p /home/siyuan/SiYuan && chmod -R u+rwx,g+rwx,o+rwx /home/siyuan/SiYuan
5
  RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
6
- ENV localrepoPath /tmp/okok
7
 
8
  USER 1000
9
  ENV accessAuthCode=1234567
@@ -12,6 +12,4 @@ ENTRYPOINT export Interval=10000 &&\
12
  ls /tmp/gitpipelocal &&\
13
  cd /tmp/gitpipelocal && npm install &&\
14
  git clone $remoteUrlWithToken $localrepoPath &&\
15
- cd $localrepoPath &&\
16
- npm install &&\
17
  /opt/siyuan/kernel --accessAuthCode $accessAuthCode --lang zh_CN
 
3
  RUN apk update && apk upgrade && apk add git wget nodejs
4
  RUN mkdir -p /home/siyuan/SiYuan && chmod -R u+rwx,g+rwx,o+rwx /home/siyuan/SiYuan
5
  RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
6
+ ENV localrepoPath /home/siyuan/SiYuan
7
 
8
  USER 1000
9
  ENV accessAuthCode=1234567
 
12
  ls /tmp/gitpipelocal &&\
13
  cd /tmp/gitpipelocal && npm install &&\
14
  git clone $remoteUrlWithToken $localrepoPath &&\
 
 
15
  /opt/siyuan/kernel --accessAuthCode $accessAuthCode --lang zh_CN