All checks were successful
Build and Deploy MikroTik Bot / build-and-deploy (push) Successful in 26s
13 lines
339 B
Docker
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"] |