CikeyQi commited on
Commit
c4d2a51
·
1 Parent(s): 764d044

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -12
Dockerfile CHANGED
@@ -11,27 +11,23 @@ RUN apt install chromium -y
11
  WORKDIR /Yunzai
12
 
13
  # 将项目文件复制到容器中
14
- COPY ./ /
15
-
16
- # 进入目录
17
- RUN cd /Yunzai
18
 
19
  # 安装插件
20
  RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin
21
  RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin
22
  RUN git clone --depth 1 https://github.com/TimeRainStarSky/TRSS-Plugin plugins/TRSS-Plugin
23
- RUN git clone --depth 1 https://github.com/ap-plugin/mj-plugin.git ./plugins/mj-plugin
24
- RUN git clone --depth 1 https://github.com/ap-plugin/ap-plugin.git ./plugins/ap-plugin
25
- RUN git clone --depth 1 https://github.com/Ctrlcvs/xiaoyao-cvs-plugin.git ./plugins/xiaoyao-cvs-plugin/
26
- RUN git clone --depth=1 https://github.com/yeyang52/yenai-plugin.git ./plugins/yenai-plugin
27
- RUN git clone --depth=1 https://github.com/guoba-yunzai/guoba-plugin.git ./plugins/Guoba-Plugin/
28
 
29
  # 拷贝 Guoba 配置文件
30
- COPY ./application.yaml /Yunzai/plugin/Guoba-Plugin/config/
31
 
32
  # 安装依赖
33
- RUN npm install -g pnpm
34
- RUN pnpm install
35
 
36
  # 给予权限
37
  RUN chmod -R 777 /Yunzai
 
11
  WORKDIR /Yunzai
12
 
13
  # 将项目文件复制到容器中
14
+ COPY application.yaml /Yunzai/
 
 
 
15
 
16
  # 安装插件
17
  RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin
18
  RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin
19
  RUN git clone --depth 1 https://github.com/TimeRainStarSky/TRSS-Plugin plugins/TRSS-Plugin
20
+ RUN git clone --depth 1 https://github.com/ap-plugin/mj-plugin.git plugins/mj-plugin
21
+ RUN git clone --depth 1 https://github.com/ap-plugin/ap-plugin.git plugins/ap-plugin
22
+ RUN git clone --depth 1 https://github.com/Ctrlcvs/xiaoyao-cvs-plugin.git plugins/xiaoyao-cvs-plugin/
23
+ RUN git clone --depth=1 https://github.com/yeyang52/yenai-plugin.git plugins/yenai-plugin
24
+ RUN git clone --depth=1 https://github.com/guoba-yunzai/guoba-plugin.git plugins/Guoba-Plugin
25
 
26
  # 拷贝 Guoba 配置文件
27
+ COPY application.yaml /Yunzai/plugins/Guoba-Plugin/config/ # 更改此行
28
 
29
  # 安装依赖
30
+ RUN npm install
 
31
 
32
  # 给予权限
33
  RUN chmod -R 777 /Yunzai