1.9 KiB
1.9 KiB
format, type, entry_prefix, schema, rules
| format | type | entry_prefix | schema | rules | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | blockers_registry | BLK |
|
|
Blockers registry (BLK)
BLK-001 — Favicon 404 in prod after Docker rebuild
- Date: 2026-05-17
- Friction: User reported favicon missing on
bchanot.frprod despite new landing page being live.docker compose up -d --builddid not fix it. - Real cause:
Dockerfileuses selectiveCOPY index.html ./,COPY CV_*(whitelist), notCOPY . ./. Favicon assets added in commitef31fb3(favicon.svg,favicon-32.png,favicon.ico,apple-touch-icon.png) were never wired into Dockerfile → never entered image layers → 404 from container even after full rebuild. Newindex.htmlworked because it was already on the COPY whitelist. - Solution: Append
COPY favicon.svg favicon-32.png favicon.ico apple-touch-icon.png ./to Dockerfile (commitf1e4392). Matching nginx cache rule for*.{ico,svg,png,jpg,jpeg,gif,webp}added (30d immutable). VPS rebuild required after pull. - Status: resolved
- Future application: Whenever the repo grows a new top-level asset that must ship in the image, audit Dockerfile COPY whitelist immediately. Consider replacing the whitelist with
COPY index.html CV_*.html CV_*.pdf favicon.* apple-touch-icon.png ./or a glob-friendly pattern if asset count grows further.
BLK-XXX -
- Date : YYYY-MM-DD
- Friction : <ce qui était bloqué>
- Cause réelle :
- Solution :
- Statut : open | resolved | upstream
-->