mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-28 16:27:03 -05:00
feat(docker): enhance .dockerignore for better file management; update Dockerfile for improved package verification and debugging; refine entrypoint script checks
This commit is contained in:
@@ -1,7 +1,40 @@
|
||||
# Ignore everything by default
|
||||
*
|
||||
# Version control
|
||||
.git/
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# Explicitly allow required files
|
||||
# Cache and temporary files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*.so
|
||||
.Python
|
||||
*.egg
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
.pytest_cache/
|
||||
.coverage
|
||||
htmlcov/
|
||||
|
||||
# Environment and IDE
|
||||
venv/
|
||||
env/
|
||||
.env
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# Build artifacts
|
||||
build/
|
||||
dist/
|
||||
wheels/
|
||||
|
||||
# Project specific
|
||||
rules_backup/
|
||||
|
||||
# Keep these files
|
||||
!src/
|
||||
!src/simpleguardhome/
|
||||
!src/simpleguardhome/**
|
||||
!requirements.txt
|
||||
@@ -10,15 +43,4 @@
|
||||
!MANIFEST.in
|
||||
!LICENSE
|
||||
!README.md
|
||||
!docker-entrypoint.sh
|
||||
|
||||
# Still exclude these even if in allowed directories
|
||||
**/__pycache__
|
||||
**/*.pyc
|
||||
**/*.pyo
|
||||
**/*.pyd
|
||||
**/.Python
|
||||
**/*.so
|
||||
**/*.egg
|
||||
**/*.egg-info
|
||||
**/*.egg-info/
|
||||
!docker-entrypoint.sh
|
||||
Reference in New Issue
Block a user