feat: 🎸 增加一键启动脚本

This commit is contained in:
xubiaolin
2022-02-19 13:06:07 +08:00
parent 2db2583445
commit 64a6a1ae3e
4 changed files with 18 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
FROM alpine:latest
ADD ./run.sh /app/
ADD ./server.sh /app/
ADD ./patch /opt/patch/
VOLUME ["/var/lib/zerotier-one/"]
@@ -39,4 +39,4 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re
sh build.sh
WORKDIR /app/
CMD ["sh","./run.sh"]
CMD ["sh","./server.sh"]