Compare commits

..

3 Commits

Author SHA1 Message Date
Michael Albert dd71a08fe9 Preinstall icons-material to avoid timeout
Change-Id: Ie4b5fa3a923cac19a3f2eeae5f6c06245d0b8cc2
2023-01-25 12:05:56 +01:00
Michael Albert 137a5828df 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
2023-01-25 09:13:44 +01:00
Michael Albert c6ed88176d Update yarn.lock
Change-Id: I0af3f9b98bf4ea2c7d016c650fa4b28567a414be
2023-01-24 22:22:11 +01:00
3 changed files with 2166 additions and 3185 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
# Builder
FROM node:lts as builder
ARG PUBLIC_URL=/
ARG REACT_APP_SERVER
WORKDIR /src
COPY . /src
RUN yarn --network-timeout=300000 install
RUN REACT_APP_SERVER=$REACT_APP_SERVER yarn build
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
# App
+1 -1
View File
@@ -16,7 +16,7 @@ services:
# if you're building on an architecture other than amd64, make sure
# to define a maximum ram for node. otherwise the build will fail.
# - NODE_OPTIONS="--max_old_space_size=1024"
# default is .
# default is /
# - PUBLIC_URL=/synapse-admin
# You can use a fixed homeserver, so that the user can no longer
# define it himself
+2160 -3181
View File
File diff suppressed because it is too large Load Diff