From 1839e658c614141461103dcc86d83d72bcdfd7c8 Mon Sep 17 00:00:00 2001 From: kwabena Date: Fri, 17 Feb 2023 02:12:40 +0000 Subject: [PATCH] Fix network timeout issue for yarn install command for WebSPA Prior to this change, starting the app locally via docker compose script kept failing with an error This change increases the network timeout for yarn install command in WebSPA --- src/Web/WebSPA/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web/WebSPA/Dockerfile b/src/Web/WebSPA/Dockerfile index a38db3b4..b0906846 100644 --- a/src/Web/WebSPA/Dockerfile +++ b/src/Web/WebSPA/Dockerfile @@ -10,7 +10,7 @@ FROM ${NODE_IMAGE} as node-build WORKDIR /web COPY Client/package.json . COPY Client/yarn.lock . -RUN yarn install +RUN yarn install --network-timeout 100000 COPY Client/ . RUN yarn build