# =============================================================================
# .dockerignore for FastAPI + Python projects
# Prevents unnecessary files from entering Docker build context
# =============================================================================

# -----------------------------------------------------------------------------
# Version Control
# -----------------------------------------------------------------------------
.git
.gitignore
.gitattributes

# -----------------------------------------------------------------------------
# Python Artifacts
# -----------------------------------------------------------------------------
__pycache__
*.py[cod]
*$py.class
*.so
.Python
*.egg
*.egg-info
.eggs
*.manifest
*.spec

# -----------------------------------------------------------------------------
# Virtual Environments
# -----------------------------------------------------------------------------
.venv
venv
ENV
env
.env.local
.env.*.local

# -----------------------------------------------------------------------------
# IDE and Editors
# -----------------------------------------------------------------------------
.idea
.vscode
*.swp
*.swo
*.swn
*~
.project
.pydevproject
.settings

# -----------------------------------------------------------------------------
# Testing
# -----------------------------------------------------------------------------
.pytest_cache
.coverage
htmlcov
.tox
.nox
coverage.xml
*.cover
.hypothesis

# -----------------------------------------------------------------------------
# Build Artifacts
# -----------------------------------------------------------------------------
build
dist
*.whl

# -----------------------------------------------------------------------------
# Documentation
# -----------------------------------------------------------------------------
docs/_build
site

# -----------------------------------------------------------------------------
# Docker
# -----------------------------------------------------------------------------
Dockerfile*
docker-compose*.yml
docker-compose*.yaml
.docker
.dockerignore

# -----------------------------------------------------------------------------
# CI/CD
# -----------------------------------------------------------------------------
.github
.gitlab-ci.yml
.travis.yml
Jenkinsfile
azure-pipelines.yml

# -----------------------------------------------------------------------------
# Secrets and Configuration
# -----------------------------------------------------------------------------
.env
.env.*
!.env.example
*.pem
*.key
secrets/
credentials/
*.secrets

# -----------------------------------------------------------------------------
# Logs and Temp Files
# -----------------------------------------------------------------------------
*.log
*.tmp
*.temp
logs/
tmp/

# -----------------------------------------------------------------------------
# OS Files
# -----------------------------------------------------------------------------
.DS_Store
Thumbs.db
Desktop.ini

# -----------------------------------------------------------------------------
# Misc
# -----------------------------------------------------------------------------
*.md
!README.md
LICENSE
Makefile
*.rst
MANIFEST.in
