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:
Macbook
2026-07-21 22:57:30 +09:00
commit 4b86b2a660
344 changed files with 45787 additions and 0 deletions
@@ -0,0 +1,32 @@
# docker/base.Dockerfile
FROM pytorch/pytorch:2.2.2-cuda12.1-cudnn8-devel
ENV CUDA_HOME=/usr/local/cuda
# 1) 필수 OS 패키지 + CA
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates curl gnupg git && \
update-ca-certificates
# 2) Python 패키지
# docker/base.Dockerfile – Python 패키지 설치 단계
# 1) Python 패키지 설치
RUN pip install --no-cache-dir --upgrade \
--trusted-host pypi.org --trusted-host files.pythonhosted.org \
tokenizers==0.21.2 \
faiss-cpu==1.8.0 \
sentence-transformers \
transformers==4.55.0 \
accelerate bitsandbytes==0.43.2 \
safetensors==0.4.3 \
FlagEmbedding \
# flash-attn==2.4.2 \
fastapi uvicorn
# 2) torch 에 uint64 심볼 임시 추가 (safetensors import 전에 실행)
RUN python - <<'PY'
import torch, types, sys
if not hasattr(torch, "uint64"):
torch.uint64 = torch.int64
print("✔ torch.uint64 patched:", hasattr(torch, "uint64"))
PY