First commit

This commit is contained in:
kyy
2025-10-30 10:09:14 +09:00
commit 996bea3a3a
89 changed files with 2110 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM python:3.10-slim
WORKDIR /workspace
# 시스템 패키지 설치
RUN apt-get update && \
apt-get install -y tree curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Python 의존성 설치
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 코드 복사
COPY workspace/ ./workspace/
ENV PYTHONPATH=/workspace/workspace
# uvicorn 실행
CMD ["sh", "-c", "uvicorn workspace.api:app --workers 4 --host 0.0.0.0 --port ${PORT:-8889}"]