From 9710ea581c177a46cff4eb8dffeb12ee1df69a65 Mon Sep 17 00:00:00 2001 From: mannes Date: Thu, 24 Sep 2026 08:15:56 +0200 Subject: [PATCH] Self-hosting: Docker image on GHCR, configurable base path - BASE_PATH env var sets the Vite base, manifest id/start_url/scope and the SW navigateFallback (defaults to /collet/, so the Pages build is unchanged). - Dockerfile: Node build stage + unprivileged nginx on :8080, served at / by default (--build-arg BASE_PATH=/collet/ for a subpath). SPA fallback for the /guide routes, no-cache on index/sw/manifest, immutable assets, /healthz. - docker.yml: publishes ghcr.io/libreble/collet (amd64 + arm64) with GITHUB_TOKEN on main and v* tags; PRs build and run docker/smoke.sh. - meta.ts: per-route canonical always points at libreble.github.io/collet/, also on self-hosted copies (it used window.location.origin). - README: Self-host section. index.html: