Preinstall icons-material to avoid timeout

Change-Id: Ie4b5fa3a923cac19a3f2eeae5f6c06245d0b8cc2
This commit is contained in:
Michael Albert 2023-01-25 12:05:56 +01:00
parent 137a5828df
commit dd71a08fe9

View File

@ -7,7 +7,8 @@ ARG REACT_APP_SERVER
WORKDIR /src WORKDIR /src
COPY . /src COPY . /src
RUN yarn --network-timeout=300000 install RUN yarn --network-timeout 500000 add @mui/icons-material
RUN yarn --network-timeout=100000 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