Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
@@ -5,6 +5,8 @@ FROM node:18
|
|
5 |
ARG dc
|
6 |
ARG qq
|
7 |
ARG rs
|
|
|
|
|
8 |
# 安装 Redis
|
9 |
RUN apt-get update && apt-get install -y redis-server
|
10 |
|
@@ -28,9 +30,13 @@ RUN git clone --depth 1 https://github.com/Nwflower/star-rail-atlas.git plugins/
|
|
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 echo "${dc}" >>config/Discord.yaml
|
32 |
-
RUN echo "${qq}" >>config/QQGuild.
|
|
|
33 |
RUN echo "${rs}" >>config/config/redis.yam
|
|
|
|
|
34 |
# 给予权限
|
35 |
RUN chmod -R 777 /app
|
36 |
|
|
|
5 |
ARG dc
|
6 |
ARG qq
|
7 |
ARG rs
|
8 |
+
ARG tg
|
9 |
+
|
10 |
# 安装 Redis
|
11 |
RUN apt-get update && apt-get install -y redis-server
|
12 |
|
|
|
30 |
RUN git clone --depth 1 https://github.com/simo8102/StarRail-plugin.git plugins/StarRail-plugin
|
31 |
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-Discord-Plugin plugins/Discord-Plugin
|
32 |
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-QQGuild-Plugin plugins/QQGuild-Plugin
|
33 |
+
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-Telegram-Plugin.git plugins/Yunzai-Telegram
|
34 |
RUN echo "${dc}" >>config/Discord.yaml
|
35 |
+
RUN echo "${qq}" >>config/QQGuild.yam
|
36 |
+
RUN echo "$tg}" >>config/Telegram.yaml
|
37 |
RUN echo "${rs}" >>config/config/redis.yam
|
38 |
+
|
39 |
+
|
40 |
# 给予权限
|
41 |
RUN chmod -R 777 /app
|
42 |
|