mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
Get environment variables from .env.local
Environment variables are not being passed to the container in the development profile. Adding env_file to pass them so they can be used by the application.
This commit is contained in:
parent
e19644268c
commit
7341b1292b
@ -37,6 +37,7 @@ services:
|
|||||||
image: bolt-ai:development
|
image: bolt-ai:development
|
||||||
build:
|
build:
|
||||||
target: bolt-ai-development
|
target: bolt-ai-development
|
||||||
|
env_file: ".env.local"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
- VITE_HMR_PROTOCOL=ws
|
- VITE_HMR_PROTOCOL=ws
|
||||||
|
Loading…
Reference in New Issue
Block a user