first commit

This commit is contained in:
2026-04-12 21:58:52 +03:00
commit acfaa2a40c
44 changed files with 2895 additions and 0 deletions

18
bot/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.13-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
RUN useradd --create-home --shell /usr/sbin/nologin appuser
COPY bot/requirements.txt /app/requirements.txt
RUN pip install --upgrade pip && \
pip install -r /app/requirements.txt
COPY --chown=appuser:appuser ./bot /app
USER appuser