mirror of
https://github.com/NVIDIA/dgx-spark-playbooks.git
synced 2026-04-26 20:03:52 +00:00
- Implement multi-stage Dockerfile (deps → builder → runner) - Add BuildKit cache mounts for pnpm store and Next.js build cache - Enable Next.js standalone output for smaller production images - Create non-root user (nextjs:nodejs) with proper permissions - Enhance .dockerignore to exclude more build artifacts - Build time reduced from 225+ seconds to ~35 seconds 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
44 lines
400 B
Plaintext
44 lines
400 B
Plaintext
# Dependencies
|
|
node_modules
|
|
.pnpm-store
|
|
**/node_modules
|
|
**/.pnpm-store
|
|
|
|
# Next.js build outputs
|
|
.next
|
|
out
|
|
**/.next
|
|
**/out
|
|
|
|
# Git
|
|
.git
|
|
.gitignore
|
|
**/.git
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# IDE
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
.DS_Store
|
|
|
|
# Testing
|
|
coverage
|
|
__tests__
|
|
*.test.ts
|
|
*.test.tsx
|
|
*.spec.ts
|
|
*.spec.tsx
|
|
|
|
# Misc
|
|
.env.local
|
|
.env.*.local
|
|
README.md
|
|
.eslintcache |