612 B
612 B
Frontend Containerization Instructions
Scope
- Applies to frontend Docker/build/runtime concerns for Next.js.
Rules
- Keep
.nextas a generated artifact; never rely on stale local cache in source control. - If dev manifest/cache issues appear, clear
.nextand restart dev server. - Keep environment-driven API base URL behavior explicit and documented.
- Ensure Docker/compose settings match the expected runtime port and host bindings.
Build Health
- Distinguish pre-existing lint/type issues from feature-specific regressions in reports.
- Do not weaken lint/type checks just to pass builds.