feat(saju-lab): 스캐폴딩 — Dockerfile + requirements + 디렉토리 구조

This commit is contained in:
2026-05-25 18:58:41 +09:00
parent 03edfb04aa
commit 42182014f0
10 changed files with 28 additions and 0 deletions

5
saju-lab/.dockerignore Normal file
View File

@@ -0,0 +1,5 @@
__pycache__
*.pyc
.pytest_cache
data/
tests/

12
saju-lab/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.12-slim-bookworm
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --timeout 600 --retries 5 -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "1"]

0
saju-lab/app/__init__.py Normal file
View File

View File

View File

View File

3
saju-lab/pytest.ini Normal file
View File

@@ -0,0 +1,3 @@
[pytest]
asyncio_mode = auto
pythonpath = .

View File

@@ -0,0 +1,8 @@
fastapi==0.115.6
uvicorn[standard]==0.34.0
httpx>=0.27
pydantic>=2.9
sxtwl>=2.0
pytest>=8.0
pytest-asyncio>=0.24
respx>=0.21

View File

0
saju-lab/tests/fixtures/__init__.py vendored Normal file
View File