feat: upstream v3.2.1 기반으로 업그레이드 + eli 블로그 커스터마이징
- upstream sinmb79/blog-writer v3.2.1 코드 베이스 적용 - config_resolver, CLI, writer_bot, shorts pipeline 등 신규 기능 포함 - load_dotenv Windows 경로 → Docker 호환 load_dotenv() 변경 (25개 파일) - runtime_guard.py Docker 환경 bypass 추가 - config/blogs.json: eli-ai 블로그 정체성 (8개 카테고리) - config/sources.json: 38개 RSS 소스 유지 - config/engine.json: writing provider → gemini (2.5-flash) - config/safety_keywords.json: 모든 글 수동 승인 (score 101) - bots/scheduler.py: 시스템 프롬프트 eli 블로그 기준으로 업데이트 - bots/publisher_bot.py: .env refresh token OAuth 폴백 로직 추가 - requirements.txt: google-generativeai, groq 활성화 - Dockerfile + docker-compose.yml: NAS Docker 배포 설정 - CLAUDE.md: 프로젝트 메타데이터 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -61,6 +61,10 @@ def ensure_project_runtime(
|
||||
entrypoint: str,
|
||||
required_distributions: list[str] | None = None,
|
||||
) -> None:
|
||||
# Docker 환경에서는 venv 체크를 건너뜀
|
||||
if os.getenv('PYTHONPATH') == '/app' or not VENV_DIR.exists():
|
||||
return
|
||||
|
||||
expected_python = project_python_path()
|
||||
current_python = Path(sys.executable)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user