feat(docker): update .dockerignore for improved file management; enhance Dockerfile with better debugging outputs and verification steps

This commit is contained in:
pacnpal
2025-01-28 23:37:50 -05:00
parent 0b59d7ac1f
commit c0bc1ffbf8
2 changed files with 29 additions and 68 deletions

View File

@@ -1,65 +1,24 @@
# Version control
.git
.gitignore
.gitattributes
# Ignore everything by default
*
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# IDE
.idea/
.vscode/
*.swp
*.swo
.project
.pydevproject
.settings/
*.sublime-workspace
*.sublime-project
# Test
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/
coverage.xml
*.cover
*.py,cover
.hypothesis/
# Project specific
rules_backup/
.env
# Keep these files
!src/
# Explicitly allow required files
!src/simpleguardhome/
!src/simpleguardhome/**
!requirements.txt
!setup.py
!pyproject.toml
!MANIFEST.in
!LICENSE
!README.md
!README.md
!docker-entrypoint.sh
# Still exclude these even if in allowed directories
**/__pycache__
**/*.pyc
**/*.pyo
**/*.pyd
**/.Python
**/*.so
**/*.egg
**/*.egg-info
**/*.egg-info/