From 236292e0aa599bed8cbe7563274830dd66552afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=B8=80=E6=A2=93?= Date: Sun, 31 Mar 2024 10:51:26 +0000 Subject: [PATCH] feat: change npm mirror to ali mirror --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2f44bf6..77f69b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN wget https://mirrors.huaweicloud.com/nodejs/v${NODE_VERSION}/node-v${NODE_VE RUN mkdir -p /usr/local/node && tar -zxvf node-v${NODE_VERSION}-linux-x64.tar.gz -C /usr/local/node ENV PATH="/usr/local/node/node-v${NODE_VERSION}-linux-x64/bin/:${PATH}" -RUN npm config set registry https://mirrors.huaweicloud.com/repository/npm/ +RUN npm config set registry https://registry.npmmirror.com RUN npm install gitbook-cli -g RUN gitbook fetch 3.2.3