fix:deploy
This commit is contained in:
@@ -18,12 +18,9 @@ services:
|
|||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
env_file:
|
|
||||||
- ./frontend/.env
|
|
||||||
args:
|
args:
|
||||||
# Baked into the Vite bundle at build time.
|
# Baked into the Vite bundle at build time.
|
||||||
# Read from frontend/.env — must be the URL the browser uses to reach
|
# Compose reads this from the root .env file.
|
||||||
# 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