fix:deploy
This commit is contained in:
@@ -18,10 +18,12 @@ services:
|
|||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
|
env_file:
|
||||||
|
- ./frontend/.env
|
||||||
args:
|
args:
|
||||||
# VITE_API_URL is read from frontend/.env and baked into the bundle
|
# Baked into the Vite bundle at build time.
|
||||||
# at build time by Vite. It must be the URL the browser uses to reach
|
# Read from frontend/.env — must be the URL the browser uses to reach
|
||||||
# the backend — not an internal Docker hostname.
|
# the backend, not an internal Docker hostname.
|
||||||
VITE_API_URL: ${VITE_API_URL}
|
VITE_API_URL: ${VITE_API_URL}
|
||||||
env_file:
|
env_file:
|
||||||
- ./frontend/.env
|
- ./frontend/.env
|
||||||
|
|||||||
Reference in New Issue
Block a user