Go to file
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
.agents/skills Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
backend Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
backup Fix rclone self-install: pipe to bash, not sh 2026-10-03 23:47:10 -04:00
erpnext-image Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
frappe_docker@380b9d069a Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
playbook Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
provisioning Add Stock Viewer role: read-only access including cost/value figures 2026-10-03 22:55:19 -04:00
scripts Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
website Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00
.env.example Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
.gitignore Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
.gitmodules Repoint frappe_docker submodule to a self-hosted mirror 2026-10-01 20:23:16 -04:00
API_INTEGRATION.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
CLAUDE.md Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
UI_DESIGN_THEME.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.data-dir.yml Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.dokploy.yml Group box.bettersight.io's footer Product/Company columns together 2026-10-04 17:36:12 -04:00
docker-compose.yml Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
generate-dokploy-compose.sh Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
inventory-implementation-training-guide.docx Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00