This commit is contained in:
2026-07-15 14:11:59 +07:00
commit 3d171206ca
10 changed files with 700 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
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"]