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.
This commit is contained in:
parent
63bf4cad0f
commit
69c064763a
1 changed files with 47 additions and 0 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue