Skip to content

Commit

Permalink
Raise yarn install timeout limit to avoid build errors
Browse files Browse the repository at this point in the history
@mui/icons-material needs much time to install, raises the overall yarn install time and causes a timeout error

Change-Id: I0327c6e0523528fb08da7e4b993fb53e9e070305
  • Loading branch information
awesome-michael committed Jan 27, 2023
1 parent b3a611e commit 3276a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 3276a9b

Please sign in to comment.