Source .env explicitly during build

This commit is contained in:
mplorentz
2026-02-27 13:35:11 -05:00
parent 3dde0253e6
commit e885fe073f
3 changed files with 17 additions and 14 deletions
+3
View File
@@ -5,6 +5,9 @@ temp_env=$(declare -p -x)
if [ -f .env.template ]; then
source .env.template
fi
if [ -f .env ]; then
source .env
fi
# Avoid overwriting env vars provided directly
# https://stackoverflow.com/a/69127685/1467342