dfghfhgfg commited on
Commit
5695bf5
·
verified ·
1 Parent(s): 4368bfd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- RUN cat $dc
31
- RUN cp $dc >>config/Discord.yaml
32
- RUN cp $qq >>config/QQGuild.yaml
33
- RUN cp $rs >>config/config/redis.yaml
 
 
 
 
 
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