chore: Add .dockerignore to speed up builds
Build and Push Docker Image / lint-and-typecheck (push) Successful in 1m29s Details
Build and Push Docker Image / build (push) Successful in 3m51s Details

Excludes node_modules, .next, .git, env files, and other
unnecessary files from Docker build context.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-01-17 13:37:29 +01:00
parent 622d9f4d2e
commit 18721c9487
1 changed files with 44 additions and 0 deletions

44
.dockerignore Normal file
View File

@ -0,0 +1,44 @@
# Dependencies
node_modules
.pnp
.pnp.js
# Build outputs
.next
out
build
dist
# Testing
coverage
# Environment files (secrets!)
.env
.env.*
!.env.example
# IDE
.idea
.vscode
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Git
.git
.gitignore
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Misc
*.md
!README.md
LICENSE
deploy/