From 6c5af4671c7a10ef6b05db28968251e628f74a38 Mon Sep 17 00:00:00 2001 From: xubiaolin Date: Mon, 15 May 2023 10:47:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 404d89f..fa7cf2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \