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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user