Raise yarn install timeout limit to avoid build errors

@mui/icons-material needs much time to install and raises the overall yarn install time to about 150 seconds

Change-Id: Ibe9808554c97d0991a336d3c7588502af8505a3f
This commit is contained in:
Michael Albert 2023-01-25 09:13:44 +01:00
parent c6ed88176d
commit 137a5828df

View File

@ -7,7 +7,7 @@ ARG REACT_APP_SERVER
WORKDIR /src WORKDIR /src
COPY . /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 RUN PUBLIC_URL=$PUBLIC_URL REACT_APP_SERVER=$REACT_APP_SERVER yarn build