Browse Source

docker: cicd-tets

Yi 1 năm trước cách đây
mục cha
commit
6ffb27eb05
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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