# Phase 23 report — Containerfile: build the whole app image again **Date:** 2026-08-24 · **Source:** `TODO.md` L6 ("Fix Containerfile build not working") · **Story:** `.agent/user_stories/containerfile-build.md` ## Root cause (verified, not guessed — logs in this directory) 1. **Build failure:** phase 19's absolute `import … from "/assets/header.js"` is resolved by esbuild as the *filesystem* path `/assets/header.js` → `✘ [ERROR] Could not resolve "/assets/header.js"`, reproduced with the exact pinned esbuild **0.25.5** (`repro_esbuild_0.25.5.log`, `repro_podman_build_before_fix.log`). 2. **Under-shipped image:** stage 1 bundled only `app.js` + `sources.js` and copied only `index.html` + `sources.html` — `document.html` / `login.html` / `document.js` / `login.js` / `markdown.js` were all missing from the image. 3. **Double-evaluation trap:** the four direct `