Patch release
This patch fixes a packaging regression in the Docker image published with v0.9.0.
Fixed
- Fixed Docker image packaging so all top-level Python modules are copied into the image, including
update_manager.py. - Fixed the startup crash
ModuleNotFoundError: No module named 'update_manager'in container deployments.
Verification
python3 -m py_compile config.py tests/test_dockerfile.py.venv/bin/python -m pytest -q tests/test_dockerfile.py tests/test_update_manager.py tests/test_routes.pydocker build -t dockerstats:fix-local .docker run --rm dockerstats:fix-local python -c "import routes, update_manager; print('import-ok')"
Notes
- The database warning about
/app/users.dbbeing a directory is separate from this crash. It usually means the deployment is mounting/app/users.dbas a directory instead of a file path.