修改访问源
This commit is contained in:
@@ -6,8 +6,8 @@ ARG NPM_REGISTRY=https://registry.npmmirror.com
|
|||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN --mount=type=cache,target=/root/.npm \
|
RUN --mount=type=cache,target=/root/.npm \
|
||||||
|
npm config set registry "${NPM_REGISTRY}" && \
|
||||||
npm ci \
|
npm ci \
|
||||||
--registry="${NPM_REGISTRY}" \
|
|
||||||
--fetch-retries=5 \
|
--fetch-retries=5 \
|
||||||
--fetch-retry-mintimeout=20000 \
|
--fetch-retry-mintimeout=20000 \
|
||||||
--fetch-retry-maxtimeout=120000 \
|
--fetch-retry-maxtimeout=120000 \
|
||||||
|
|||||||
Reference in New Issue
Block a user