FROM python:3.13-slim AS builder WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir --user -r requirements.txt FROM python:3.13-slim WORKDIR /app COPY --from=builder /root/.local /root/.local ENV PATH=/root/.local/bin:$PATH COPY config/ config/ COPY bot.py . RUN mkdir -p data CMD ["python", "bot.py"]