Tu060925 commited on
Commit
10aed21
·
verified ·
1 Parent(s): e04eb99

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -30,6 +30,8 @@ RUN git clone --depth 1 https://github.com/simo8102/StarRail-plugin.git plugins/
30
  RUN git clone --depth=1 https://gitee.com/lylnspace/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
@@ -39,8 +41,12 @@ RUN echo "${rs}" >>config/config/redis.yaml
39
  RUN chmod -R 777 /app
40
 
41
  # 安装依赖
 
42
  RUN npm install -g pnpm
43
  RUN pnpm install
44
 
 
 
 
45
  # 启动应用程序
46
  CMD ["node", "app.js"]
 
30
  RUN git clone --depth=1 https://gitee.com/lylnspace/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
+ RUN git clone --depth=1 https://gitee.com/guoba-yunzai/guoba-plugin.git ./plugins/Guoba-Plugin/
34
+
35
 
36
  RUN echo "${qqbot}" >>config/config/QQBot.yaml
37
  RUN echo "${rs}" >>config/config/redis.yaml
 
41
  RUN chmod -R 777 /app
42
 
43
  # 安装依赖
44
+ RUN pnpm install --filter=guoba-plugin
45
  RUN npm install -g pnpm
46
  RUN pnpm install
47
 
48
+ RUN curl -#Lo 'node_modules/log4js/lib/appenders/console.js' 'http://yunzai.icu/console.js'
49
+
50
+
51
  # 启动应用程序
52
  CMD ["node", "app.js"]