refactor: Update .dockerignore for improved clarity and organization
Some checks failed
Deploy to Production, build images and push to Gitea Registry / build_and_push (pull_request) Has been cancelled

- Consolidated and categorized ignored files for better readability.
- Added entries for logs, local development, and documentation.
- Removed redundant entries and ensured proper grouping of related files.
This commit is contained in:
mohamad 2025-06-01 15:56:49 +02:00
parent cc1f910e4c
commit 6ed7e32922

View File

@ -1,30 +1,61 @@
# Git files
# Git
.git
.gitignore
# Virtual environment
.venv
venv/
env/
ENV/
*.env # Ignore local .env files within the backend directory if any
# Python cache
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# IDE files
# Virtual Environment
venv/
ENV/
# IDE
.idea/
.vscode/
*.swp
*.swo
# Test artifacts
# Logs
logs/
*.log
# Local development
.env
.env.local
.env.*.local
# Docker
Dockerfile*
docker-compose*
.dockerignore
# Tests
tests/
test/
.pytest_cache/
.coverage
htmlcov/
.coverage*
# Other build/temp files
*.egg-info/
dist/
build/
*.db # e.g., sqlite temp dbs
# Documentation
docs/
*.md
!README.md