Update Dockerfile
Browse files- Dockerfile +9 -4
Dockerfile
CHANGED
@@ -27,10 +27,15 @@ RUN git clone --depth 1 https://github.com/Nwflower/genshin-atlas.git plugins/At
|
|
27 |
RUN git clone --depth 1 https://github.com/Nwflower/star-rail-atlas.git plugins/Atla/star-rail-atlas
|
28 |
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-Discord-Plugin plugins/Discord-Plugin
|
29 |
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-QQGuild-Plugin plugins/QQGuild-Plugin
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
34 |
# 给予权限
|
35 |
RUN chmod -R 777 /app
|
36 |
|
|
|
27 |
RUN git clone --depth 1 https://github.com/Nwflower/star-rail-atlas.git plugins/Atla/star-rail-atlas
|
28 |
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-Discord-Plugin plugins/Discord-Plugin
|
29 |
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-QQGuild-Plugin plugins/QQGuild-Plugin
|
30 |
+
ENV dc=$dc
|
31 |
+
ENV qq=$qq
|
32 |
+
|
33 |
+
ENV rs=$rs
|
34 |
+
RUN echo $dc >>config/Discord.yaml
|
35 |
+
RUN echo $qq >>config/QQGuild.yaml
|
36 |
+
RUN echo $rs >>config/config/redis.yaml
|
37 |
+
|
38 |
+
RUN cat config/QQGuild.yaml
|
39 |
# 给予权限
|
40 |
RUN chmod -R 777 /app
|
41 |
|