#!/bin/sh # Containerized build for cyrion: mounts the Obsidian vault read-only and # writes dist/ into the repo checkout. Run from the repo root. set -eu VAULT="${VAULT:-/home/nox/docker/obsidian/vaults/weeslahw_coppermind}" docker run --rm \ -v "$(pwd):/app" \ -v "$VAULT:/content:ro" \ -e GARDEN_CONTENT=/content/Digital_Garden \ -e ASTRO_TELEMETRY_DISABLED=1 \ -w /app \ node:24-slim \ sh -c "npm ci && npm run build"