瀏覽代碼

Merge branch 'feature/cicd-test' of duanxiaoduan/tmr-group-admin into develop

xuyiping 1 年之前
父節點
當前提交
c7db3d57a5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -3,7 +3,8 @@ WORKDIR /app/tmr-group-admin
 #拷贝源码
 COPY . .
 #安装依赖
-RUN npm install --registry=https://registry.npm.taobao.org
+RUN npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
+RUN npm install
 
 # 开始构建
 RUN npm run build:prod