Skip to content

Commit

Permalink
config: Add config-overrides.js to Dockerfile and docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Dec 16, 2023
1 parent edbff4e commit 922ff48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,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}
Expand Down
1 change: 1 addition & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
1 change: 1 addition & 0 deletions frontend/DockerfileDevelop
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 922ff48

Please sign in to comment.