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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user