fixing docker compose distribution

This commit is contained in:
2026-03-26 14:04:57 -05:00
parent 938c271ff5
commit ab7d31de2f
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@@ -35,6 +35,7 @@ logs/
# Build artifacts # Build artifacts
dist/ dist/
build/ build/
artifacts/
# Testing # Testing
coverage/ coverage/

View File

@@ -7,6 +7,9 @@ bundle_dir="${1:-${repo_root}/docker/distributable}"
archive_path="${2:-${repo_root}/artifacts/attune-docker-dist.tar.gz}" archive_path="${2:-${repo_root}/artifacts/attune-docker-dist.tar.gz}"
template_dir="${repo_root}/docker/distributable" template_dir="${repo_root}/docker/distributable"
bundle_dir="$(realpath -m "${bundle_dir}")"
archive_path="$(realpath -m "${archive_path}")"
template_dir="$(realpath -m "${template_dir}")"
mkdir -p "${bundle_dir}/docker" "${bundle_dir}/migrations" "${bundle_dir}/packs" "${bundle_dir}/scripts" mkdir -p "${bundle_dir}/docker" "${bundle_dir}/migrations" "${bundle_dir}/packs" "${bundle_dir}/scripts"
mkdir -p "$(dirname "${archive_path}")" mkdir -p "$(dirname "${archive_path}")"