diff --git a/docker-compose.yaml b/docker-compose.yaml index 12eadcd57..871397327 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -71,6 +71,9 @@ services: - type: bind source: ./frontend/tsconfig.json target: /client/tsconfig.json + - type: bind + source: ./frontend/config-overrides.js + target: /client/config-overrides.js environment: - REACT_APP_API_ROOT=${REACT_APP_API_ROOT} - REACT_APP_EXPERIMENT_SLUG=${REACT_APP_EXPERIMENT_SLUG} diff --git a/frontend/Dockerfile b/frontend/Dockerfile index e75115550..4fcb65f23 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -5,5 +5,6 @@ WORKDIR /client COPY package.json /client/ COPY yarn.lock /client/ COPY tsconfig.json /client/ +COPY config-overrides.js /client/ RUN yarn COPY . /client/ diff --git a/frontend/DockerfileDevelop b/frontend/DockerfileDevelop index a27188243..678f842c2 100644 --- a/frontend/DockerfileDevelop +++ b/frontend/DockerfileDevelop @@ -5,5 +5,6 @@ WORKDIR /client COPY package.json /client/ COPY yarn.lock /client/ COPY tsconfig.json /client/ +COPY config-overrides.js /client/ RUN yarn COPY /public /client/public