Skip to content

Commit

Permalink
Get environment variables from .env.local
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kjenney authored Jan 18, 2025
1 parent e196442 commit 7341b12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7341b12

Please sign in to comment.