chore(02-01): add audio dependencies to Dockerfile and pyproject.toml

- Add mpv-libs, ffmpeg, ffmpeg-libs, libsndfile to Alpine Dockerfile
- Add python-mpv>=1.0.5, soundfile>=0.12.0, numpy>=1.26.0 to pyproject.toml
This commit is contained in:
Claude
2026-04-06 13:02:41 +00:00
parent 4af7f4de5f
commit 474b4a71d5
2 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,13 @@ FROM python:3.11-alpine
WORKDIR /app
# Audio stack: libmpv for python-mpv, ffmpeg for MP3 waveform, libsndfile for soundfile
RUN apk add --no-cache \
mpv-libs \
ffmpeg \
ffmpeg-libs \
libsndfile
COPY pyproject.toml .
RUN pip install --no-cache-dir .

View File

@@ -13,6 +13,9 @@ dependencies = [
"aiofiles>=24.0.0",
"python-dotenv>=1.0.0",
"structlog>=24.0.0",
"python-mpv>=1.0.5",
"soundfile>=0.12.0",
"numpy>=1.26.0",
]
[project.optional-dependencies]