sightbox/scripts
JasonFraser c8be366015 Fix marketing container staleness for real: recreate on every deploy, not just HTML edits
Found live: box.bettersight.io's hero image 404'd again after a deploy
that touched zero marketing-related files (a dev.sh/prod.sh/tests-only
commit). Root cause was deeper than the original content-hash fix
assumed — Dokploy re-clones the ENTIRE git checkout on every deploy, not
just ones that change bettersightbox-index.html, which orphans
marketing's assets/ directory bind mount (the container's mount still
points at the old, now-deleted directory inode) whenever the container
itself isn't also recreated in that same deploy. A hash of one file's
content only caught deploys that touched that file.

Fix: generate-dokploy-compose.sh now bakes in the current git commit SHA
instead, so the content-hash label (and the recreate it forces) changes
on every single deploy, unconditionally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:56:39 -04:00
..
.env.prod.example Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
dev.sh Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
prod.sh Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00