| |
| FROM node:18 |
|
|
| |
| RUN apt-get update && apt-get install -y redis-server |
|
|
| |
| RUN apt install chromium -y |
|
|
| |
| WORKDIR /app |
|
|
| |
| COPY ./Yunzai /app |
| COPY ./application.yaml /app |
|
|
| |
| RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin |
| RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin |
| RUN git clone --depth 1 https://github.com/TimeRainStarSky/TRSS-Plugin plugins/TRSS-Plugin |
| RUN git clone --depth 1 https://github.com/ap-plugin/mj-plugin.git plugins/mj-plugin |
| RUN git clone --depth 1 https://github.com/ap-plugin/ap-plugin.git plugins/ap-plugin |
| RUN git clone --depth 1 https://github.com/Ctrlcvs/xiaoyao-cvs-plugin.git plugins/xiaoyao-cvs-plugin/ |
| RUN git clone --depth=1 https://github.com/yeyang52/yenai-plugin.git plugins/yenai-plugin |
| RUN git clone --depth=1 https://github.com/guoba-yunzai/guoba-plugin.git plugins/Guoba-Plugin |
|
|
| |
| COPY ./application.yaml ./plugins/Guoba-Plugin/config/ |
|
|
| |
| RUN chmod -R 777 /app |
|
|
| |
| RUN npm install -g pnpm |
| RUN pnpm install |
|
|
| |
| CMD ["node", "app.js"] |