diff --git a/deploy/docker/scripts/run-with-env.sh b/deploy/docker/scripts/run-with-env.sh index 9e8402b12d..90a86ab86d 100755 --- a/deploy/docker/scripts/run-with-env.sh +++ b/deploy/docker/scripts/run-with-env.sh @@ -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 "$@"