From 69c064763af60c45618a47a79b19c6de64173373 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 8 Sep 2025 18:01:39 -0300 Subject: [PATCH] Add environment and build file exclusions to .dockerignore This commit expands the .dockerignore file to include various environment files, authentication files, dependency directories, Python cache files, build outputs, development files, logs, OS-specific files, and temporary files. These additions enhance the Docker build process by preventing unnecessary files from being included, thereby improving efficiency and maintainability in line with best practices for async development. --- .dockerignore | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/.dockerignore b/.dockerignore index 8e0ed179..3f0066a9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,49 @@ +# Environment files .env +.env.local +.env.development +.env.production + +# Auth files .drive.json +*.json + +# Dependencies +node_modules/ +*/node_modules/ +**/node_modules/ + +# Python cache +__pycache__/ +*/__pycache__/ +**/__pycache__/ +*.pyc +*.pyo +*.pyd +.Python + +# Build outputs +build/ +dist/ +.next/ +out/ + +# Development files +.git/ +.gitignore +README.md +*.md +.vscode/ +.idea/ + +# Logs +*.log +logs/ + +# OS files +.DS_Store +Thumbs.db + +# Temporary files +tmp/ +temp/