Откат: тесты и pytest удалены из Dockerfile (Docker — production-окружение)
This commit is contained in:
parent
f45beef888
commit
60e7faca5f
@ -11,7 +11,6 @@ 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/*
|
||||
|
||||
@ -20,7 +19,6 @@ 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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user