refactor: update environment variable loading in installation scripts

This commit is contained in:
Nawaz Dhandala
2026-03-06 13:34:35 +00:00
parent 8e90f45142
commit adfb9a115c
2 changed files with 8 additions and 2 deletions

View File

@@ -193,7 +193,9 @@ main() {
# Load environment variables
# shellcheck disable=SC2046
export $(grep -v '^#' config.env | xargs)
set -a
source config.env
set +a
print_info "Generating Dockerfile configurations..."
while IFS= read -r dockerfile_template; do

View File

@@ -16,7 +16,11 @@ set -a
bash configure.sh
# Load env values from config.env
export $(grep -v '^#' config.env | xargs) && docker compose pull
set -a
source config.env
set +a
docker compose pull
# Start all containers.
npm start