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:
Ken Jenney 2025-01-18 12:38:34 -05:00 committed by GitHub
parent e19644268c
commit 7341b1292b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,7 @@ services:
image: bolt-ai:development
build:
target: bolt-ai-development
env_file: ".env.local"
environment:
- NODE_ENV=development
- VITE_HMR_PROTOCOL=ws