MogensR's picture
Rename .dockerignor to docker/.dockerignor
d14605c
# Git and version control (not needed in container)
.git
.gitignore
.gitattributes
# Documentation (reduces image size)
*.md
README*
CHANGELOG*
docs/
documentation/
# Development tools (not needed in production)
.vscode/
.idea/
*.swp
*.swo
*~
# Testing files (not needed in production)
tests/
test_*
*_test.py
pytest.ini
.pytest_cache/
.coverage
htmlcov/
# Development dependencies
requirements-dev.txt
dev-requirements.txt
# OS files
.DS_Store
Thumbs.db
desktop.ini
# Python cache (will be regenerated)
**/__pycache__/
*.pyc
*.pyo
*.pyd
.Python
# Virtual environments (should use container environment)
venv/
env/
.venv/
.env/
ENV/
env.bak/
venv.bak/
# Logs (container should use stdout/stderr)
*.log
logs/
*.log.*
# Temporary files
*.tmp
*.temp
temp/
tmp/
# Build artifacts (will be rebuilt in container)
build/
dist/
*.egg-info/
.eggs/
*.egg
# Local configuration (use environment variables instead)
config_local.py
.env.local
.secrets
config/local/
config/secrets/
# Example and test data (too large for container)
examples/videos/
examples/large_samples/
test_videos/
sample_data/
# Model files (should be downloaded at runtime or mounted)
models/*.pt
models/*.pth
models/*.ckpt
models/*.safetensors
models/*.bin
models/weights/
models/checkpoints/
# But keep model definitions and loaders
!models/loaders/
!models/*.py
# Cache directories (will be created fresh)
.cache/
cache/
model_cache/
utils/cache/
# Large media files (except examples that should be included)
*.mp4
*.avi
*.mov
*.mkv
*.webm
*.flv
*.jpg
*.jpeg
*.png
*.gif
*.bmp
*.tiff
# But keep essential assets
!web/static/assets/
!docs/images/
# Development scripts (keep production scripts)
scripts/dev/
scripts/debug/
dev_tools/
debug/
# But keep production scripts
!scripts/deployment/
!scripts/setup/
# Gradio/Web cache
gradio_cached_examples/
flagged/
web/cache/
web/temp/
# CLI development files
cli/debug/
cli/test_commands/
# API development files
api/mock/
api/test_endpoints/
# Your legacy folders (if not needed in container)
Configs/backup/
Logs/archive/
# Node modules (if any web components use them)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Database files (should use external database)
*.db
*.sqlite
*.sqlite3
# Jupyter notebooks (development only)
*.ipynb
.ipynb_checkpoints/