mikrotik-bot/Dockerfile
stakost c2125e6736
All checks were successful
Build and Deploy MikroTik Bot / build-and-deploy (push) Successful in 26s
Fix async init_db and HTTP registry config
2025-06-01 12:13:13 +03:00

13 lines
339 B
Docker

FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Убираем автоматическую инициализацию БД - она будет создана при первом запуске
# RUN python -c "import db; db.init_db()"
CMD ["python", "bot.py"]