- /api/survey 등 모듈 레벨 new Resend(process.env.RESEND_API_KEY)가 .env 없는 docker 빌드에서 throw → 빌드타임 더미로 통과(런타임은 env_file 실제값) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- next.config: output 'standalone' + outputFileTracingRoot(workspace 중첩 방지) - Dockerfile(멀티스테이지, NEXT_PUBLIC_* build-arg) + .dockerignore - maxDuration은 Vercel 운영 보호 위해 유지(self-host에선 무시됨) - 로컬 빌드 검증: .next/standalone/server.js 루트 생성 확인 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>