Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dd71a08fe9 | |||
| 137a5828df | |||
| c6ed88176d |
+4
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user