change dockerfile
This commit is contained in:
+2
-2
@@ -5,8 +5,8 @@ WORKDIR /app
|
|||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
COPY scripts ./scripts
|
COPY scripts ./scripts
|
||||||
|
|
||||||
ENV NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
|
ENV NPM_CONFIG_REGISTRY=https://mirror2.chabokan.net
|
||||||
RUN npm config set registry https://registry.npmmirror.com \
|
RUN npm config set registry https://mirror2.chabokan.net/npm/ \
|
||||||
&& npm config set replace-registry-host always \
|
&& npm config set replace-registry-host always \
|
||||||
&& npm config set fetch-retry-mintimeout 10000 \
|
&& npm config set fetch-retry-mintimeout 10000 \
|
||||||
&& npm config set fetch-retry-maxtimeout 120000 \
|
&& npm config set fetch-retry-maxtimeout 120000 \
|
||||||
|
|||||||
Reference in New Issue
Block a user