This commit is contained in:
Lizandro Guarnizo
2026-06-05 18:50:08 -05:00
parent 44d646f44b
commit df35862de7
3 changed files with 23 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -e
if [ ! -f /app/.env ]; then
env | while IFS='=' read -r key val; do
case "$key" in
HOME|PATH|HOSTNAME|TERM|PHP_*|SUPERVISOR_*|COOLIFY_*) ;;
*) printf '%s=%s\n' "$key" "$val" >> /app/.env ;;
esac
done
fi
exec "$@"