next build was OOM-killed (exit 255) on the Coolify host during 'Linting and checking validity of types' — tsc pulls the whole type graph into memory and pushes the build past available RAM. Type-checking and linting belong in CI / pre-commit, not in the prod container build. Skip them via next.config and cap the Node heap to 1.5 GB so any future memory blow-up surfaces as a JS OOM instead of a SIGKILL. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| .dockerignore | ||
| docker-compose.coolify.yml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| next.config.docker.ts | ||