diff --git a/plugins/build-env/pre-build b/plugins/build-env/pre-build index 1bf72de9b..de761a418 100755 --- a/plugins/build-env/pre-build +++ b/plugins/build-env/pre-build @@ -11,12 +11,12 @@ dokku config:get --global CURL_TIMEOUT > /dev/null 2>&1 || dokku config:set --gl if [[ -n $(dokku config --global --export) ]]; then BUILD_ENV+=$'\n' - BUILD_ENV+=$(< "$DOKKU_ROOT/ENV") + BUILD_ENV+=$(dokku config --global --export) BUILD_ENV+=$'\n' fi if [[ -n $(dokku config $APP --export) ]]; then BUILD_ENV+=$'\n' - BUILD_ENV+=$(< "$DOKKU_ROOT/$APP/ENV") + BUILD_ENV+=$(dokku config $APP --export) BUILD_ENV+=$'\n' fi