JellyfinDiscordBot/Dockerfile
Jonathan Jara 30b19befe1 fix?
2025-04-18 16:17:35 -07:00

24 lines
412 B
Docker

FROM python:3.12.10-alpine
RUN apk add --no-cache \
ffmpeg \
opus \
opus-dev \
build-base \
libffi-dev \
openssl-dev \
musl-dev \
python3-dev
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python -c "import discord.opus as opus; opus.load_opus(); print('✅ Opus loaded:', opus.is_loaded())"
CMD python bot.py