Update containerization-docker-best-practices.instructions.md (#137)

Reduce redundancy; improve coverage of excluding .env.* files.
This commit is contained in:
Robert Altman 2025-07-30 19:45:06 -05:00 committed by GitHub
parent 33bbe2b18b
commit aa189fdaab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,8 +174,7 @@ RUN apt-get update && \
- **Example (Comprehensive .dockerignore):**
```dockerignore
# Version control
.git
.gitignore
.git*
# Dependencies (if installed in container)
node_modules
@ -189,8 +188,7 @@ build
*.so
# Development files
.env
.env.local
.env.*
*.log
coverage
.nyc_output
@ -206,9 +204,8 @@ coverage
Thumbs.db
# Documentation
README.md
docs/
*.md
docs/
# Test files
test/