Ver Fonte

Merge branch 'feature/Dockerfile_registry_change' of FanYanPeng/EAIFrontend into host-nju

XiaoYu há 1 ano atrás
pai
commit
f59fcae67d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -3,7 +3,7 @@ MAINTAINER fanyanpeng fanyanpeng@smail.nju.edu.cn
 WORKDIR /app
 ENV TZ Asia/Shanghai
 COPY package*.json ./
-RUN npm config set registry https://registry.npm.taobao.org
+RUN npm config set registry https://mirrors.cloud.tencent.com/npm/
 RUN npm install
 COPY . .
 RUN npm run build