Update containerization-docker-best-practices.instructions.md (#137)
Reduce redundancy; improve coverage of excluding .env.* files.
This commit is contained in:
parent
33bbe2b18b
commit
aa189fdaab
@ -174,8 +174,7 @@ RUN apt-get update && \
|
|||||||
- **Example (Comprehensive .dockerignore):**
|
- **Example (Comprehensive .dockerignore):**
|
||||||
```dockerignore
|
```dockerignore
|
||||||
# Version control
|
# Version control
|
||||||
.git
|
.git*
|
||||||
.gitignore
|
|
||||||
|
|
||||||
# Dependencies (if installed in container)
|
# Dependencies (if installed in container)
|
||||||
node_modules
|
node_modules
|
||||||
@ -189,8 +188,7 @@ build
|
|||||||
*.so
|
*.so
|
||||||
|
|
||||||
# Development files
|
# Development files
|
||||||
.env
|
.env.*
|
||||||
.env.local
|
|
||||||
*.log
|
*.log
|
||||||
coverage
|
coverage
|
||||||
.nyc_output
|
.nyc_output
|
||||||
@ -206,9 +204,8 @@ coverage
|
|||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
README.md
|
|
||||||
docs/
|
|
||||||
*.md
|
*.md
|
||||||
|
docs/
|
||||||
|
|
||||||
# Test files
|
# Test files
|
||||||
test/
|
test/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user