Refactor .dockerignore to streamline ignored files and directories. Remove unnecessary entries and add specific exclusions for database files and logs. Include Docker-related files for better container management.

This commit is contained in:
2025-09-16 00:43:50 +03:00
parent 6605957627
commit dc4300c6f2
2 changed files with 81 additions and 62 deletions

View File

@@ -1,73 +1,31 @@
# Git
.git
.gitignore
# .dockerignore
.*
!.gitignore
# Python
__pycache__
*.pyc
*.pyo
*.pyd
.Python
env
pip-log.txt
pip-delete-this-directory.txt
.tox
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.log
.git
.mypy_cache
.pytest_cache
.hypothesis
# Virtual environments
venv/
env/
ENV/
env.bak/
venv.bak/
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Project specific
.env
*.db
*.sqlite
*.sqlite3
logs/
*.log
# Documentation
# Исключаем виртуальное окружение - оно НЕ нужно в образе!
venv/
.venv/
# Исключаем файлы БД (создаются при запуске)
database/*.db
database/*.db-*
# Служебные файлы
Dockerfile
docker-compose*
README.md
*.md
docs/
.env
# Examples
examples/
# Tests
tests/
test_*.py
*_test.py
# Temporary files
*.tmp
*.temp
test/
docs/
.idea/
.vscode/