Skip to content

Commit

Permalink
fix(docker): remove overriding config options by empty env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jun 18, 2024
1 parent 91601eb commit 349325b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deployment/docker/server/server-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ file_env() {
val="$(cat "${fileVar}")"
fi

export "${1}"="$val"
if [ -n "${val:-}" ]; then
export "${1}"="$val"
fi

unset "${1}_FILE"
}

Expand Down

0 comments on commit 349325b

Please sign in to comment.