Music playback requires system libraries that were missing from the Alpine-based container.
13 lines
241 B
Docker
13 lines
241 B
Docker
FROM python:3.13-alpine
|
|
|
|
RUN apk add --no-cache opus ffmpeg yt-dlp
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
ENV PYTHONPATH=/app/src
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENTRYPOINT ["python", "-m", "derp"]
|