From 3a3d6cf77fe79bc039a852826d7eec47f44427c7 Mon Sep 17 00:00:00 2001 From: Peleke Sengstacke Date: Thu, 6 Nov 2025 18:12:24 -0500 Subject: [PATCH] perf(ci): add .dockerignore to reduce build context size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Exclude node_modules, .next, build artifacts - Exclude .git, .github, documentation - Exclude test artifacts and IDE files - Expected: 30-50% faster context upload Closes #2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .dockerignore | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/.dockerignore b/.dockerignore index 6618082f..94d119d3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,22 +1,35 @@ # Dependencies node_modules npm-debug.log* +yarn-debug.log* +yarn-error.log* -# Build outputs +# Build artifacts .next out dist build -# Environment files -.env*.local -.env - -# Development +# Git .git .gitignore -README.md +.github + +# Environment files +.env* +!.env.example + +# Documentation +*.md docs +claudedocs + +# Testing +coverage +.nyc_output +playwright-report +test-results +__tests__ # IDE .vscode @@ -25,10 +38,17 @@ docs *.swo *~ -# Testing -coverage -.nyc_output +# OS +.DS_Store +Thumbs.db + +# Terraform +terraform/.terraform +terraform/*.tfstate* +terraform/.terraform.lock.hcl # Misc -.DS_Store -*.pem +*.log +.cache +temp +tmp