FROM python:3.11-slim

WORKDIR /app

COPY pyproject.toml .
COPY main.py config.py wechat.py db.py sync.py ./

RUN pip install --no-cache-dir .

CMD ["python", "main.py"]
