security(ocr): run OCR container as non-root user (CIS Docker §4.1) #611
@@ -26,8 +26,7 @@ def test_htrmopo_dir_default_is_fixed_path():
|
||||
importlib.reload(ensure_blla_model)
|
||||
result = ensure_blla_model.HTRMOPO_DIR
|
||||
importlib.reload(ensure_blla_model)
|
||||
assert "~" not in result
|
||||
assert not result.startswith("/.")
|
||||
assert result == "/app/models/.htrmopo"
|
||||
|
||||
|
||||
# ─── Model already loadable ───────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user