mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-19 20:11:14 -05:00
feat(docker): add diagnostic output for package installation and import verification
This commit is contained in:
@@ -12,9 +12,14 @@ handle_term() {
|
||||
# Set up signal handlers
|
||||
trap handle_term SIGTERM SIGINT
|
||||
|
||||
# Verify package can be imported
|
||||
# Print diagnostic information
|
||||
echo "Verifying package installation..."
|
||||
python3 -c "import simpleguardhome" || exit 1
|
||||
echo "Python path:"
|
||||
python3 -c "import sys; print('\n'.join(sys.path))"
|
||||
echo "Installed packages:"
|
||||
pip list
|
||||
echo "Attempting to import simpleguardhome..."
|
||||
python3 -c "import simpleguardhome; print('Successfully imported simpleguardhome')" || exit 1
|
||||
|
||||
# Start the application
|
||||
echo "Starting SimpleGuardHome server..."
|
||||
|
||||
Reference in New Issue
Block a user