Deploy prep: Dockerfiles for admin (Next standalone) + scheduler (Bun)
admin/Dockerfile: 2-stage monorepo Next.js standalone (outputFileTracingRoot added to next.config so the bundle traces workspace deps). scheduler/Dockerfile: single-stage Bun runtime, validated by a local docker build. .dockerignore excludes node_modules/.next/.turbo/.git. Build context = monorepo root; runtime env DATABASE_URL + REDIS_URL. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
**/node_modules
|
||||
**/.next
|
||||
**/.turbo
|
||||
.git
|
||||
**/dist
|
||||
**/coverage
|
||||
docs
|
||||
*.md
|
||||
infra/docker-compose.yml
|
||||
Reference in New Issue
Block a user