xtname commited on
Commit
9933ed8
·
verified ·
1 Parent(s): 1dc127b

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -10,9 +10,9 @@ ENV TZ Asia/Shanghai
10
  RUN apt update
11
  RUN apt install -y unzip
12
  RUN npm i pnpm -g
13
- RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai /home/node/yunzai
14
- RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin /home/node/yunzai/plugins/genshin
15
- RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin /home/node/yunzai/plugins/miao-plugin
16
  COPY . .
17
 
18
  # 赋予权限归递
@@ -20,7 +20,6 @@ RUN chmod -R 777 /tmp
20
  RUN chmod -R 777 daemon.zip
21
  RUN unzip daemon.zip -d daemon
22
  RUN chmod -R 777 ./daemon
23
- RUN chmod -R 777 ./yunzai
24
 
25
  # 自定义su密码
26
  RUN echo 'root:rootuserisxiaotian' | chpasswd
 
10
  RUN apt update
11
  RUN apt install -y unzip
12
  RUN npm i pnpm -g
13
+ RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai /home/node/Yunzai
14
+ RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin /home/node/Yunzai/plugins/genshin
15
+ RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin /home/node/Yunzai/plugins/miao-plugin
16
  COPY . .
17
 
18
  # 赋予权限归递
 
20
  RUN chmod -R 777 daemon.zip
21
  RUN unzip daemon.zip -d daemon
22
  RUN chmod -R 777 ./daemon
 
23
 
24
  # 自定义su密码
25
  RUN echo 'root:rootuserisxiaotian' | chpasswd