Next.js replaces process.env.X with build-time values via DefinePlugin, even in server-side route handlers. Without the env var set during build, it always falls back to localhost:8000 which doesn't work inside Docker. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .dockerignore | ||
| Dockerfile | ||
| deploy.sh | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||