# 注意：stdio 本地模式是推荐的使用方式（见 README）。
# Docker 仅用于有特殊需求的自托管场景。

FROM m.daocloud.io/docker.io/library/python:3.11-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

COPY app/ ./app/

CMD ["python", "-m", "app.main"]
