feat(docker): add debugging outputs to entrypoint script for improved diagnostics

This commit is contained in:
pacnpal
2025-01-28 22:43:40 -05:00
parent 0bc9dded41
commit a73c8a3a20

View File

@@ -24,9 +24,27 @@ check_package() {
log "Python version:" log "Python version:"
python3 --version python3 --version
# Debug: Show current directory and its contents
log "Current directory: $(pwd)"
log "Directory contents:"
ls -la
# Debug: Show /app directory contents
log "Contents of /app directory:"
ls -la /app
# Debug: Show /app/src directory contents
log "Contents of /app/src directory:"
ls -la /app/src || echo "src directory not found"
log "Verifying package files..." log "Verifying package files..."
if [ ! -d "/app/src/simpleguardhome" ]; then if [ ! -d "/app/src/simpleguardhome" ]; then
log "ERROR: Package directory not found!" log "ERROR: Package directory not found!"
log "Contents of parent directories:"
ls -la /
ls -la /app || echo "/app not found"
log "Full path check:"
find / -name "simpleguardhome" 2>/dev/null || echo "No simpleguardhome directory found"
exit 1 exit 1
fi fi