fix: update https://registry.npm.taobao.org to https://registry.npmmirror.com (#9078)
Co-authored-by: NPM Mirror Bot <npmmirror@localhost>
This commit is contained in:
parent
79cddeafa1
commit
1823093a9b
|
|
@ -14,7 +14,7 @@ COPY ./yarn.lock /app
|
|||
COPY ./package.json /app
|
||||
|
||||
RUN if [ "$USE_CHINA_NPM_REGISTRY" = 1 ]; then \
|
||||
echo 'use npm mirror'; npm config set registry https://registry.npm.taobao.org; \
|
||||
echo 'use npm mirror'; npm config set registry https://registry.npmmirror.com; \
|
||||
fi;
|
||||
|
||||
RUN npm i -g npm
|
||||
|
|
|
|||
Loading…
Reference in New Issue