mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-04 21:31:11 +00:00
- 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>
77 lines
706 B
Text
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
|
|
|