Agent 2.0 exdev 서버 배포 스택
- server-dev start/stop/deploy 및 Gitea push 자동 배포 - local-dev 로컬 개발 환경 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# docker/base-slim.Dockerfile
|
||||
# 경량 베이스 이미지 (외부 API 사용 버전)
|
||||
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 패키지 (외부 API 사용에 필요한 것만)
|
||||
RUN pip install --no-cache-dir \
|
||||
httpx==0.27.0 \
|
||||
tenacity==8.2.3 \
|
||||
faiss-cpu==1.8.0 \
|
||||
fastapi==0.109.0 \
|
||||
uvicorn==0.27.0 \
|
||||
pydantic==2.6.0 \
|
||||
numpy==1.26.4 \
|
||||
qdrant-client==1.18.0
|
||||
|
||||
# 헬스체크
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD curl -f http://localhost:28012/health || exit 1
|
||||
|
||||
EXPOSE 28012
|
||||
|
||||
Reference in New Issue
Block a user