t
File size: 3,141 Bytes
d9487ad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
07104bd
218456c
d9487ad
 
 
 
 
acc7004
6b436fb
 
d9487ad
33ca57e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM node:latest
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
    echo $TZ > /etc/timezone
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
    apt-get install -y -qq wget curl&& \
    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
    echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \
    apt-get update && \
    apt-get install -y -qq google-chrome-stable bash tzdata git redis-server gnupg ca-certificates ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-arphic-uming p7zip-full ffmpeg libavcodec-extra libopencore-amrnb-dev libopencore-amrwb-dev libvo-amrwbenc-dev libx264-dev libx265-dev libvpx-dev libmp3lame-dev libopus-dev
EXPOSE 2536
WORKDIR /zmal
RUN git config --global clone.quiet true
RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai
WORKDIR /zmal/Yunzai
RUN npm i -g pnpm
RUN git clone --depth 1 --single-branch "https://gitee.com/TimeRainStarSky/Yunzai-Telegram-Plugin" "plugins/Telegram-Plugin"&&git clone --depth 1 --single-branch "https://gitee.com/TimeRainStarSky/Yunzai-ICQQ-Plugin" "plugins/ICQQ-Plugin" && git clone --depth 1 https://github.com/TimeRainStarSky/TRSS-Plugin.git "plugins/TRSS-Plugin"&&git clone https://github.com/TimeRainStarSky/Yunzai-QQBot-Plugin.git plugins/QQBot 

RUN git clone --depth=1 https://github.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin \
 && git clone -b v2 --depth=1 https://github.com/yeyang52/yenai-plugin.git ./plugins/yenai-plugin \
 && git clone --depth=1 https://github.com/XasYer/steam-plugin.git ./plugins/steam-plugin \
 && git clone --depth=1 https://github.com/AIGC-Yunzai/siliconflow-plugin.git ./plugins/siliconflow-plugin \
 && git clone --depth=1 https://github.com/erzaozi/vits-plugin.git ./plugins/vits-plugin \
 && git clone --depth=1 https://github.com/liangshi233/liangshi-calc.git ./plugins/liangshi-calc \
 && git clone --depth=1 https://github.com/HDTianRu/bililivePush-plugin ./plugins/bililivePush-plugin \
 && git clone --depth=1 https://github.com/guoba-yunzai/guoba-plugin.git ./plugins/Guoba-Plugin \
 && git clone --depth=1 https://github.com/erzaozi/neko-status-plugin.git ./plugins/neko-status-plugin \
 && git clone --depth=1 https://github.com/TimeRainStarSky/Yunzai-genshin.git ./plugins/genshin \
 && git clone --depth=1 https://github.com/xfdown/xiaofei-plugin.git ./plugins/xiaofei-plugin \
 && git clone --depth=1 https://github.com/ClarityJS/meme-plugin ./plugins/meme-plugin \
 && git clone --depth=1 https://github.com/ikechan8370/chatgpt-plugin.git ./plugins/chatgpt-plugin \
&& git clone https://github.com/QianYeXingChen/ap-plugin-qyxc.git ./plugins/ap-plugin \
&& pnpm i --silent

COPY Yunzai.7z Yunzai.7z
RUN --mount=type=secret,id=zzz,mode=0444,required=true \
    7z x -p"$(cat /run/secrets/zzz)" Yunzai.7z -o/zmal/Yunzai/ -y
RUN git config --global safe.directory '*'
#RUN curl -sSLk https://gitee.com/haanxuan/QSign/raw/main/X -o /tmp/QSign.sh && bash /tmp/QSign.sh

RUN curl https://api64.ipify.org
RUN chmod -R 777 /zmal    
CMD node app