15 lines
612 B
Markdown
15 lines
612 B
Markdown
# Frontend Containerization Instructions
|
|
|
|
## Scope
|
|
- Applies to frontend Docker/build/runtime concerns for Next.js.
|
|
|
|
## Rules
|
|
- Keep `.next` as a generated artifact; never rely on stale local cache in source control.
|
|
- If dev manifest/cache issues appear, clear `.next` and 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.
|