File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ ADD bulletin_board/server/Gemfile.lock /code/bulletin_board/server/Gemfile.lock
8181ADD bulletin_board/server/Gemfile /code/bulletin_board/server/Gemfile
8282
8383# Prevent npm ERR! code ERR_SOCKET_TIMEOUT
84- RUN npm install --global npm@latest && npm config set fetch-timeout 1800000 -g
84+ RUN npm install --global npm@latest && \
85+ npm config set fetch-timeout 1800000 -g && \
86+ npm config set fetch-retry-mintimeout 600000 -g && \
87+ npm config set fetch-retry-maxtimeout 1800000 -g
8588
8689# Install all dependencies, build artifacts and remove unnecessary files
8790RUN cd /code && make install && make build SKIP_PYODIDE=true && \
Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ ADD bulletin_board/server/Gemfile.lock /code/bulletin_board/server/Gemfile.lock
8181ADD bulletin_board/server/Gemfile /code/bulletin_board/server/Gemfile
8282
8383# Prevent npm ERR! code ERR_SOCKET_TIMEOUT
84- RUN npm install --global npm@latest && npm config set fetch-timeout 1800000 -g
84+ RUN npm install --global npm@latest && \
85+ npm config set fetch-timeout 1800000 -g && \
86+ npm config set fetch-retry-mintimeout 600000 -g && \
87+ npm config set fetch-retry-maxtimeout 1800000 -g
8588
8689# Install all dependencies, build artifacts and remove unnecessary files
8790RUN cd /code && make install && make build SKIP_PYODIDE=true && \
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ ADD bulletin_board/server/Gemfile.lock /code/bulletin_board/server/Gemfile.lock
7171ADD bulletin_board/server/Gemfile /code/bulletin_board/server/Gemfile
7272
7373# Prevent npm ERR! code ERR_SOCKET_TIMEOUT
74- RUN npm install --global npm@latest && npm config set fetch-timeout 1800000 -g
74+ RUN npm install --global npm@latest && \
75+ npm config set fetch-timeout 1800000 -g && \
76+ npm config set fetch-retry-mintimeout 600000 -g && \
77+ npm config set fetch-retry-maxtimeout 1800000 -g
7578
7679# Install all dependencies, build artifacts and remove unnecessary files
7780RUN cd /code && make install && make build && \
You can’t perform that action at this time.
0 commit comments