updated Dockerfile

This commit is contained in:
marvzhang
2019-12-29 12:04:52 +08:00
parent c06e3b1ab3
commit dce47e8025
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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