diff --git a/Dockerfile b/Dockerfile index b64592d..873dded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN mkdir -p logs # Устанавливаем зависимости и утилиту ps для healthcheck COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt && \ + pip install --no-cache-dir pytest pytest-asyncio && \ apt-get update && apt-get install -y --no-install-recommends tzdata procps && \ rm -rf /var/lib/apt/lists/* @@ -19,6 +20,7 @@ COPY bot.py . COPY conftest.py . COPY commands/ commands/ COPY utils/ utils/ +COPY tests/ tests/ # .env передаётся через docker-compose environment: # DISCORD_TOKEN=${DISCORD_TOKEN} # MORNING_TIME=${MORNING_TIME:-07:00}