We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7abc70 + db7df81 commit 1844d3dCopy full SHA for 1844d3d
Dockerfile
@@ -1,7 +1,9 @@
1
FROM node:lts-alpine
2
WORKDIR /build
3
-RUN npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
4
-RUN npm set registry https://registry.npm.taobao.org
+# 设置Node-Sass的镜像地址
+RUN npm config set sass_binary_site https://repo.huaweicloud.com/node-sass
5
+# 设置npm镜像
6
+RUN npm config set registry https://repo.huaweicloud.com/repository/npm/
7
COPY package.json /build/package.json
8
RUN npm install
9
COPY ./ /build
0 commit comments