4b86b2a660
- server-dev start/stop/deploy 및 Gitea push 자동 배포 - local-dev 로컬 개발 환경 Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
670 B
Docker
33 lines
670 B
Docker
# docker/batch-slim.Dockerfile
|
|
# 배치 작업용 경량 이미지
|
|
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# 시스템 패키지
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
curl \
|
|
ca-certificates && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Python 패키지
|
|
RUN pip install --no-cache-dir \
|
|
httpx==0.27.0 \
|
|
tenacity==8.2.3 \
|
|
faiss-cpu==1.8.0 \
|
|
numpy==1.26.4 \
|
|
qdrant-client==1.18.0 \
|
|
pandas==2.2.0 \
|
|
openpyxl==3.1.2 \
|
|
packaging==24.0
|
|
|
|
# 스크립트 복사
|
|
COPY scripts/ /app/scripts/
|
|
|
|
# Python 모듈 경로에 scripts 디렉토리 추가
|
|
ENV PYTHONPATH="/app/scripts:${PYTHONPATH}"
|
|
|
|
CMD ["python"]
|
|
|