Skip to content

Commit 089d1eb

Browse files
authored
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.
1 parent 1c5f16f commit 089d1eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile.alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt
3434
# Runtime stage
3535
FROM $LITELLM_RUNTIME_IMAGE AS runtime
3636

37-
# Update dependencies and clean up
38-
RUN apk upgrade --no-cache
37+
# Update dependencies and clean up, install libsndfile for audio processing
38+
RUN apk upgrade --no-cache && apk add --no-cache libsndfile
3939

4040
WORKDIR /app
4141

0 commit comments

Comments
 (0)