spring-petclinic/.dockerignore
Bhavesh Khandelwal bdbece8d3f Improve Docker and CI/CD configuration with best practices
- Dockerfile: Add non-root user, healthcheck, optimized layer caching
- docker-compose.yml: Add healthchecks, data volumes, networking, better configuration
- CI/CD: Add multi-platform builds, image testing, multiple tags, metadata
- .dockerignore: Comprehensive exclusions for faster builds

These improvements enhance security, reliability, and maintainability
following Docker and Spring Boot best practices.

Signed-off-by: Bhavesh Khandelwal <bhaveshkhandelwal1232@gmail.com>
2025-12-17 10:42:17 +05:30

77 lines
706 B
Text

# Build outputs
/target
/build
*.jar
*.war
*.ear
# Maven
/.mvn/wrapper/maven-wrapper.jar
.mvn/wrapper/maven-wrapper.properties
# IDE
/.idea
/.vscode
/.settings
/.classpath
/.project
*.iml
*.ipr
*.iws
# Version control
/.git
/.gitignore
/.gitattributes
# Documentation
README.md
LICENSE.txt
*.md
/docs
# Docker
docker-compose.yml
docker-compose.*.yml
.dockerignore
Dockerfile*
# Kubernetes
/k8s
*.yaml
!src/**/*.yml
!src/**/*.yaml
# CI/CD
/.github
/.gitlab-ci.yml
/.travis.yml
/.circleci
# Dependencies
node_modules
/.gradle
/.m2
# Logs
*.log
logs/
# OS
.DS_Store
Thumbs.db
*.swp
*.swo
*~
# Test files
**/test/**
**/*Test.java
**/*Tests.java
**/__tests__/
# Temporary files
*.tmp
*.temp
.cache