fix(docker): add libsndfile to Alpine image for audio processing (#18092)

ARM64 Alpine image was missing libsndfile library causing soundfile
module to fail with "cannot load library" error.
This commit is contained in:
Cesar Garcia 2025-12-17 01:37:57 -03:00 committed by GitHub
parent 1c5f16fb6e
commit 089d1eb08b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,8 +34,8 @@ RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt
# Runtime stage
FROM $LITELLM_RUNTIME_IMAGE AS runtime
# Update dependencies and clean up
RUN apk upgrade --no-cache
# Update dependencies and clean up, install libsndfile for audio processing
RUN apk upgrade --no-cache && apk add --no-cache libsndfile
WORKDIR /app