File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COPY package.json yarn.lock ./
1010RUN yarn config set network-timeout 600000 -g && yarn install --production
1111{%- else %}
1212COPY package.json package-lock.json ./
13- RUN npm config set network-timeout 600000 -g && npm install --only=production
13+ RUN npm config set fetch-retry-maxtimeout 600000 -g && npm install --only=production
1414{%- endif %}
1515ENV PATH /opt/node_modules/.bin:$PATH
1616WORKDIR /opt/app
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COPY package.json yarn.lock ./
1010RUN yarn config set network-timeout 600000 -g && yarn install
1111{%- else %}
1212COPY package.json package-lock.json ./
13- RUN npm config set network-timeout 600000 -g && npm install
13+ RUN npm config set fetch-retry-maxtimeout 600000 -g && npm install
1414{%- endif %}
1515
1616WORKDIR /opt/app
You can’t perform that action at this time.
0 commit comments