JellyfinDiscordBot/Dockerfile
Jonathan Jara bde2d35634 fix?
2025-04-18 16:20:43 -07:00

24 lines
440 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('/usr/lib/libopus.so.0.10.1'); print('✅ Opus loaded:', opus.is_loaded())"
CMD python bot.py