Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

update https://registry.npm.taobao.org to https://registry.npmmirror.com #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
rm -rf /var/cache/apk/* /tmp/*
ADD ./ /data/gopub/
WORKDIR /data/gopub/vue-gopub
RUN npm install -g node-gyp --registry=https://registry.npm.taobao.org && \
npm install node-sass sass-loader --save-dev --registry=https://registry.npm.taobao.org --disturl=https://npm.taobao.org/dist --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ && \
npm install --registry=https://registry.npm.taobao.org && \
RUN npm install -g node-gyp --registry=https://registry.npmmirror.com && \
npm install node-sass sass-loader --save-dev --registry=https://registry.npmmirror.com --disturl=https://npm.taobao.org/dist --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ && \
npm install --registry=https://registry.npmmirror.com && \
npm run build

FROM alpine:3.9.3
Expand Down