Commit 1becac1
committed
Make VITE_BACKEND_URL configurable via env
Allow the frontend backend URL to be overridden without editing files. docker-compose.yml now injects VITE_BACKEND_URL using shell parameter expansion with a default (http://localhost:11006). The frontend Dockerfile removes the hardcoded ARG default and exports ARG as ENV so the build-arg can supply the value.1 parent 9c3c5fb commit 1becac1
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments