Tu060925 commited on
Commit
b665621
·
verified ·
1 Parent(s): 5ff982e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -12
Dockerfile CHANGED
@@ -1,9 +1,9 @@
1
  # 使用基于 Node.js 18 的镜像
2
  FROM node:18
3
- ARG dc
4
- ARG qq
5
  ARG rs
6
- ARG tg
7
 
8
  # 安装 Redis
9
  RUN apt-get update && apt-get install -y redis-server
@@ -18,6 +18,7 @@ WORKDIR /app
18
  COPY ./Yunzai /app
19
 
20
  # 安装插件
 
21
  RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin
22
  RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin
23
  RUN git clone --depth 1 https://github.com/Ctrlcvs/xiaoyao-cvs-plugin.git plugins/xiaoyao-cvs-plugin
@@ -26,15 +27,11 @@ RUN git clone --depth 1 https://github.com/Nwflower/atlas plugins/Atlas
26
  RUN git clone --depth 1 https://github.com/Nwflower/genshin-atlas.git plugins/Atla/Genshin-Atlas
27
  RUN git clone --depth 1 https://github.com/Nwflower/star-rail-atlas.git plugins/Atla/star-rail-atla
28
  RUN git clone --depth 1 https://github.com/simo8102/StarRail-plugin.git plugins/StarRail-plugin
29
- RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-Discord-Plugin plugins/Discord-Plugin
30
- RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-QQGuild-Plugin plugins/QQGuild-Plugin
31
- RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-Telegram-Plugin.git plugins/Yunzai-Telegram
32
- RUN git clone -b master --depth=1 https://github.com/yeyang52/yenai-plugin.git ./plugins/yenai-plugin
33
- RUN git clone --depth=1 https://github.com/ZZZure/ZZZ-Plugin.git ./plugins/ZZZ-Plugin
34
- RUN git clone https://gitee.com/TimeRainStarSky/Yunzai-ICQQ-Plugin ./plugins/ICQQ-Plugin
35
- RUN echo "${dc}" >>config/Discord.yaml
36
- RUN echo "${qq}" >>config/QQGuild.yaml
37
- RUN echo "${tg}" >>config/Telegram.yaml
38
  RUN echo "${rs}" >>config/config/redis.yaml
39
 
40
 
 
1
  # 使用基于 Node.js 18 的镜像
2
  FROM node:18
3
+
4
+ ARG qqbot
5
  ARG rs
6
+
7
 
8
  # 安装 Redis
9
  RUN apt-get update && apt-get install -y redis-server
 
18
  COPY ./Yunzai /app
19
 
20
  # 安装插件
21
+ RUN git clone --depth=1 https://gitee.com/TimeRainStarSky/Yunzai-QQBot-Plugin plugins/genshin
22
  RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin
23
  RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin
24
  RUN git clone --depth 1 https://github.com/Ctrlcvs/xiaoyao-cvs-plugin.git plugins/xiaoyao-cvs-plugin
 
27
  RUN git clone --depth 1 https://github.com/Nwflower/genshin-atlas.git plugins/Atla/Genshin-Atlas
28
  RUN git clone --depth 1 https://github.com/Nwflower/star-rail-atlas.git plugins/Atla/star-rail-atla
29
  RUN git clone --depth 1 https://github.com/simo8102/StarRail-plugin.git plugins/StarRail-plugin
30
+ RUN git clone -b master --depth=1 https://github.com/yeyang52/yenai-plugin.git plugins/yenai-plugin
31
+ RUN git clone --depth=1 https://github.com/ZZZure/ZZZ-Plugin.git plugins/ZZZ-Plugin
32
+ RUN git clone --depth=1 https://gitee.com/TimeRainStarSky/Yunzai-ICQQ-Plugin plugins/ICQQ-Plugin
33
+
34
+ RUN echo "${qqbot}" >>config/config/QQBot.yaml
 
 
 
 
35
  RUN echo "${rs}" >>config/config/redis.yaml
36
 
37