fix: move service_signatures.json inside app package and bump to 1.3.3

The file was in /app/data/ which gets overwritten by the Docker volume
mount (backend_data:/app/data), making it invisible at runtime and
causing scan failures on fresh installs. Moved to /app/app/data/ so
it stays baked into the image.
This commit is contained in:
Pouzor
2026-03-27 17:54:39 +01:00
parent 861d2822b9
commit 0f643477f6
4 changed files with 149 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ _SIGNATURES: list[dict[str, Any]] | None = None
def _load() -> list[dict[str, Any]]:
global _SIGNATURES
if _SIGNATURES is None:
path = Path(__file__).parent.parent.parent / "data" / "service_signatures.json"
path = Path(__file__).parent.parent / "data" / "service_signatures.json"
with open(path) as f:
_SIGNATURES = json.load(f)
return _SIGNATURES