From 9b43d41040b79cc8ad240dbadc66098bc8231c2b Mon Sep 17 00:00:00 2001 From: Michael Albert Date: Fri, 3 Feb 2023 22:17:08 +0100 Subject: [PATCH] Remove fixed PUBLIC_URL in Dockerfile Change-Id: Ifb2e41f02f6568fd80fe9de4c76b633236ceffe4 --- Dockerfile | 3 +-- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7eb35d5..93de6c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ # Builder FROM node:lts as builder -ARG PUBLIC_URL=/ ARG REACT_APP_SERVER WORKDIR /src COPY . /src RUN yarn --network-timeout=300000 install -RUN PUBLIC_URL=$PUBLIC_URL REACT_APP_SERVER=$REACT_APP_SERVER yarn build +RUN REACT_APP_SERVER=$REACT_APP_SERVER yarn build # App diff --git a/docker-compose.yml b/docker-compose.yml index df52d3e..6e07aa2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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