mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
添加Node Sass源
This commit is contained in:
@@ -13,6 +13,7 @@ FROM node:latest AS frontend-build
|
||||
ADD ./frontend /app
|
||||
WORKDIR /app
|
||||
|
||||
ENV SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/
|
||||
# install frontend
|
||||
RUN yarn config set registry https://registry.npm.taobao.org && \
|
||||
yarn install && yarn run build:prod
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
FROM node:latest
|
||||
WORKDIR frontend
|
||||
ENV SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/
|
||||
RUN npm config set registry "http://registry.npm.taobao.org"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user