mcsm / Dockerfile
xtname
Update Dockerfile
bed4f34 verified
raw
history blame contribute delete
726 Bytes
FROM node
# 设置大陆时区
ENV TZ Asia/Shanghai
# 设置工作目录
# WORKDIR ./xiaotian
# 安装所需工具
RUN apt update
RUN apt install -y unzip
# RUN npm i pnpm -g
# RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai /home/node/Yunzai
# RUN git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin /home/node/Yunzai/plugins/genshin
# RUN git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin /home/node/Yunzai/plugins/miao-plugin
COPY . .
# 赋予权限归递
RUN chmod -R 777 /tmp
RUN chmod -R 777 daemon.zip
RUN unzip daemon.zip -d daemon
RUN chmod -R 777 ./daemon
ENV VERSION=9.0.17
# 自定义su密码
RUN echo 'root:1234' | chpasswd
# 启动!
CMD bash ./start.sh