diff --git a/deploy/docker/entrypoint.sh b/deploy/docker/entrypoint.sh index 697188bda6..33b9b489a4 100644 --- a/deploy/docker/entrypoint.sh +++ b/deploy/docker/entrypoint.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash set -e + +stacks_path=/appsmith-stacks + # ip is a reserved keyword for tracking events in Mixpanel. Instead of showing the ip as is Mixpanel provides derived properties. # As we want derived props alongwith the ip address we are sharing the ip address in separate keys # https://help.mixpanel.com/hc/en-us/articles/360001355266-Event-Properties @@ -28,6 +31,8 @@ if [[ -n "${FILESTORE_IP_ADDRESS-}" ]]; then FILE_SHARE_NAME="$(echo "$FILE_SHARE_NAME" | xargs)" echo "Running appsmith for cloudRun" + echo "creating mount point" + mkdir -p "$stacks_path" echo "Mounting File Sytem" mount -t nfs -o nolock "$FILESTORE_IP_ADDRESS:/$FILE_SHARE_NAME" /appsmith-stacks echo "Mounted File Sytem" @@ -35,7 +40,6 @@ if [[ -n "${FILESTORE_IP_ADDRESS-}" ]]; then export HOSTNAME="cloudrun" fi -stacks_path=/appsmith-stacks function get_maximum_heap() { resource=$(ulimit -u)