Set default APPSMITH_GIT_ROOT value in Docker (#9666)

This commit is contained in:
Shrikant Sharat Kandula 2021-12-09 12:11:34 +05:30 committed by GitHub
parent 4829820e86
commit 4612607122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,4 +30,9 @@ if [[ -z "${APPSMITH_RECAPTCHA_SITE_KEY}" ]] || [[ -z "${APPSMITH_RECAPTCHA_SECR
unset APPSMITH_RECAPTCHA_ENABLED
fi
if [[ -z "${APPSMITH_GIT_ROOT:-}" ]]; then
export APPSMITH_GIT_ROOT=/appsmith-stacks/git-storage
fi
mkdir -pv "$APPSMITH_GIT_ROOT"
exec "$@"