fix: add pkg-config and FFmpeg dev libs for PyAV build

PyAV (av==11, dep of faster-whisper) requires pkg-config and
FFmpeg development headers to compile from source.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-19 05:20:37 -08:00
parent c0b4f77de5
commit 6deaf16365
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@ RUN apt-get update && apt-get install -y \
ffmpeg \ ffmpeg \
libsndfile1 \ libsndfile1 \
build-essential \ build-essential \
pkg-config \
libavformat-dev \
libavcodec-dev \
libavdevice-dev \
libavutil-dev \
libswscale-dev \
libswresample-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY requirements.txt . COPY requirements.txt .