From 3276a9b6ed3060f9ca1630b67367004d4e93fcc2 Mon Sep 17 00:00:00 2001 From: Michael Albert Date: Fri, 27 Jan 2023 08:34:24 +0100 Subject: [PATCH] Raise yarn install timeout limit to avoid build errors @mui/icons-material needs much time to install, raises the overall yarn install time and causes a timeout error Change-Id: I0327c6e0523528fb08da7e4b993fb53e9e070305 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a5d5171..7eb35d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ARG REACT_APP_SERVER WORKDIR /src COPY . /src -RUN yarn --network-timeout=100000 install +RUN yarn --network-timeout=300000 install RUN PUBLIC_URL=$PUBLIC_URL REACT_APP_SERVER=$REACT_APP_SERVER yarn build