NPM Mirror Bot 2022-02-11 22:09:47 -05:00
parent 664ac88c85
commit 1e415ac76c
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ WORKDIR /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
COPY src /app/src

View File

@ -61,7 +61,7 @@ FROM node:alpine as frontend
COPY package.json /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 resources/ /app/resources/
@ -179,7 +179,7 @@ FROM node:alpine as frontend
COPY package.json /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 resources/ /app/resources/