Fixed docker containers

This commit is contained in:
2024-10-13 20:22:34 -04:00
parent 1c6ed2cba4
commit 0bfc320379
12 changed files with 63 additions and 86 deletions

19
scripts/apply_env.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
# Enable exporting variables
set -a
# Source the default env variables
echo "Sourcing build environment"
source .env
# If there is a .env.local present, source it
echo "Sourcing custom environment"
if [ -f .env.local ]; then
source ./.env.local
fi
# Disable exporting variables
set +a
# Run the given command
exec "$@"