fix(backfill): add sys.path insertion for module resolution
Build and Push Reader API Image / docker (push) Successful in 11s

This commit is contained in:
2026-04-30 02:17:38 +07:00
parent 5ef1577344
commit 9f235c33b2
+3
View File
@@ -4,10 +4,13 @@ import argparse
import asyncio import asyncio
import hashlib import hashlib
import json import json
import sys
from pathlib import Path from pathlib import Path
from bson import ObjectId from bson import ObjectId
from sqlalchemy import text from sqlalchemy import text
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from app.config import settings from app.config import settings
from app.database import SessionLocal, mongo_db from app.database import SessionLocal, mongo_db
from app.storage import storage from app.storage import storage