Commit Graph

2 Commits

Author SHA1 Message Date
38fe9dec3f fix(docker): 빌드타임 더미 RESEND_API_KEY로 standalone 빌드 통과
- /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>
2026-06-06 16:58:28 +09:00
5d4599642a feat(deploy): Next standalone 출력 + Dockerfile (NAS self-host Phase 3)
- 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>
2026-06-06 14:50:08 +09:00