Merge pull request #497 from npmmirror/master

Update https://registry.npm.taobao.org to https://registry.npmmirror.com
pull/498/head
Baohua Yang 2022-02-16 11:50:56 -08:00 committed by GitHub
commit d4c6e590c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ WORKDIR /app
COPY package.json /app/ COPY package.json /app/
RUN npm i --registry=https://registry.npm.taobao.org \ RUN npm i --registry=https://registry.npmmirror.com \
&& rm -rf ~/.npm && rm -rf ~/.npm
COPY src /app/src COPY src /app/src

View File

@ -8,7 +8,7 @@ COPY package.json /app/
RUN --mount=type=cache,target=/app/node_modules,id=my_app_npm_module,sharing=locked \ RUN --mount=type=cache,target=/app/node_modules,id=my_app_npm_module,sharing=locked \
--mount=type=cache,target=/root/.npm,id=npm_cache \ --mount=type=cache,target=/root/.npm,id=npm_cache \
npm i --registry=https://registry.npm.taobao.org npm i --registry=https://registry.npmmirror.com
COPY src /app/src COPY src /app/src

View File

@ -61,7 +61,7 @@ FROM node:alpine as frontend
COPY package.json /app/ COPY package.json /app/
RUN set -x ; cd /app \ RUN set -x ; cd /app \
&& npm install --registry=https://registry.npm.taobao.org && npm install --registry=https://registry.npmmirror.com
COPY webpack.mix.js webpack.config.js tailwind.config.js /app/ COPY webpack.mix.js webpack.config.js tailwind.config.js /app/
COPY resources/ /app/resources/ COPY resources/ /app/resources/
@ -179,7 +179,7 @@ FROM node:alpine as frontend
COPY package.json /app/ COPY package.json /app/
RUN set -x ; cd /app \ RUN set -x ; cd /app \
&& npm install --registry=https://registry.npm.taobao.org && npm install --registry=https://registry.npmmirror.com
COPY webpack.mix.js webpack.config.js tailwind.config.js /app/ COPY webpack.mix.js webpack.config.js tailwind.config.js /app/
COPY resources/ /app/resources/ COPY resources/ /app/resources/