6d3b0bacc0
- 19개 마이크로서비스 (news-collector, score-engine, ta-engine, dart-collector, aux-signal, us-market, graph-engine, telegram-bot, dashboard-api, kis-api 등) - 가치투자 스코어링 + 10공식 앙상블 보팅 (매직포뮬러/F-Score/Altman/PEG/ 모멘텀/Beneish/GP-A/G-Score/Amihud/BAB) - 뉴스 수집→형태소→임베딩→중복제거→AI분석 파이프라인 - 기술적분석 + GAT 그래프신경망 + 미증시 동조 시그널 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
12 lines
579 B
Docker
12 lines
579 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
COPY requirements.txt .
|
|
# torch는 CPU 빌드만 받음 (Ollama가 GPU 점유, 추론은 CPU로 충분)
|
|
RUN pip install --no-cache-dir --default-timeout=300 --retries=5 \
|
|
--index-url https://download.pytorch.org/whl/cpu torch==2.4.1
|
|
RUN pip install --no-cache-dir --default-timeout=180 --retries=5 -r requirements.txt
|
|
COPY . .
|
|
EXPOSE 9090
|
|
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "9090", "--workers", "1", "--log-level", "info"]
|