mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
feat: 🎸 增加日志
This commit is contained in:
parent
c916cfd223
commit
6c5af4671c
@ -11,11 +11,12 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re
|
||||
&& apk update\
|
||||
&& mkdir -p /usr/include/nlohmann/ && cd /usr/include/nlohmann/ && wget https://ghself.markxu.online/https://github.com/nlohmann/json/releases/download/v3.10.5/json.hpp \
|
||||
&& apk add --no-cache git python3 npm make g++ zerotier-one \
|
||||
&& mkdir /app -p && cd /app && git clone https://ghself.markxu.online/https://github.com/key-networks/ztncui.git\
|
||||
&& mkdir /app -p && cd /app && git clone --progress https://ghself.markxu.online/https://github.com/key-networks/ztncui.git\
|
||||
&& cd /app/ztncui/src \
|
||||
&& cp /app/patch/binding.gyp .\
|
||||
&& echo "开始配置npm环境"\
|
||||
&& npm config set registry http://registry.npmmirror.com\
|
||||
&& npm install -g node-gyp\
|
||||
&& npm install -g --progress --verbose node-gyp\
|
||||
&& npm install \
|
||||
&& echo 'HTTP_PORT=3443' >.env \
|
||||
&& echo 'NODE_ENV=production' >>.env \
|
||||
|
Loading…
Reference in New Issue
Block a user