Update entrypoint.sh
This commit is contained in:
@@ -1,13 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
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 "$@"
|
exec "$@"
|
||||||
Reference in New Issue
Block a user