- Updated `.dockerignore` to streamline ignored files and directories, focusing on essential components. - Removed obsolete `Dockerfile.bot` to simplify the build process. - Enhanced `run_helper.py` with a new `init_db` function to initialize the SQLite database if it doesn't exist, improving setup reliability. - Removed the `/status` endpoint from `server_prometheus.py` to clean up unused functionality and improve code clarity.
29 lines
369 B
Plaintext
29 lines
369 B
Plaintext
# .dockerignore
|
|
.*
|
|
!.gitignore
|
|
|
|
# Исключаем тяжелые папки
|
|
voice_users/
|
|
logs/
|
|
.venv/
|
|
__pycache__
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
|
|
# Исключаем файлы БД (они создаются при запуске)
|
|
database/*.db
|
|
database/*.db-*
|
|
|
|
# Служебные файлы
|
|
Dockerfile
|
|
docker-compose*
|
|
README.md
|
|
.env
|
|
*.log
|
|
|
|
tests/
|
|
test/
|
|
docs/
|
|
.idea/
|
|
.vscode/ |