#!/usr/bin/env bash set -Eeuo pipefail root="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)" cp "$root/harbor_entry.py" "$root/executable" chmod 755 "$root/executable" # Fold the frozen binary assets into a few blobs so the compiled build tree # stays small: the verifier re-hashes the whole tree on every runtime start, # including the one the `restart` action performs under a 15 s budget. # Refuses to touch a bundle checkout; see clone/sitepack.py. python3 "$root/clone/sitepack.py" --pack "$root"