Jelajahi Sumber

update https://registry.npm.taobao.org to https://registry.npmmirror.com

NPM Mirror Bot 3 tahun lalu
induk
melakukan
39f7f47488
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -1,7 +1,7 @@
 FROM registry.cn-shanghai.aliyuncs.com/lwmeng/node:lts-alpine as build-stage
 WORKDIR /app
 COPY package*.json ./
-RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
+RUN npm install -g cnpm --registry=https://registry.npmmirror.com
 RUN cnpm install
 COPY . .
 RUN npm run build:prod