From dce47e8025c9708f35efbb1025656de8812d0b27 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Sun, 29 Dec 2019 12:04:52 +0800 Subject: [PATCH] updated Dockerfile --- Dockerfile | 2 +- Dockerfile.local | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ddb4d47e..a85b42dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ WORKDIR /app # install frontend RUN npm config set unsafe-perm true -RUN npm install -g yarn && yarn install --registry=https://registry.npm.taobao.org +RUN npm install -g yarn && yarn install --registry=https://registry.npm.taobao.org --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ RUN npm run build:prod diff --git a/Dockerfile.local b/Dockerfile.local index ddb4d47e..a85b42dc 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -15,7 +15,7 @@ WORKDIR /app # install frontend RUN npm config set unsafe-perm true -RUN npm install -g yarn && yarn install --registry=https://registry.npm.taobao.org +RUN npm install -g yarn && yarn install --registry=https://registry.npm.taobao.org --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ RUN npm run build:prod