diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index b7b3d38..d60aae5 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -23,7 +23,8 @@ echo "DIRS: $(ls)" mkdir -p /app cp -r ./* /app TC_CONFIG_DIR_ROOT=/app -TC_CONFIG_DIR=$(dirname $TAILCALL_CONFIG) +TC_CONFIG_DIR=$(dirname $TAILCALL_CONFIG | sed 's|^\./||') +echo $TC_CONFIG_DIR TC_CONFIG_NAME=$(basename $TAILCALL_CONFIG) EXTENSION=$(echo $TC_CONFIG_NAME | tr '.' '\n' | tail -n 1)