Добавлен докер и докер-композ

This commit is contained in:
2025-03-10 06:22:21 +03:00
parent 32f9e6e2c8
commit bcfef29207
5 changed files with 82 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.13-slim
RUN apt-get update && apt-get install -y ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY MusicBot /app/MusicBot
ENV PYTHONPATH=/app
# Команда для запуска бота
CMD ["python", "./MusicBot/main.py"]