diff --git a/tools/db_init.py b/tools/db_init.py
index 01b33bc..ede879e 100644
--- a/tools/db_init.py
+++ b/tools/db_init.py
@@ -112,5 +112,16 @@ async def main():
print("[OK] DB 초기화 완료")
+def _copy_offline_assets():
+ """폐쇄망 정적 파일 복사 (있는 경우)."""
+ import shutil
+ offline_chart = ITSM_DIR.parent / "setup" / "offline" / "common" / "chart.umd.min.js"
+ target_chart = ITSM_DIR / "static" / "chart.umd.min.js"
+ if offline_chart.exists() and not target_chart.exists():
+ shutil.copy2(offline_chart, target_chart)
+ print(f"[OK] Chart.js 오프라인 파일 복사: {target_chart}")
+
+
if __name__ == "__main__":
+ _copy_offline_assets()
asyncio.run(main())