mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-10 00:21:45 +03:00
Добавлен докер и докер-композ
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user