Skip to content

Commit 6d08d60

Browse files
Add ffmpeg to docker image
1 parent b00ed19 commit 6d08d60

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ FROM python:3.11-slim AS runtime
99
ENV PYTHONPATH="/opt"
1010
COPY --from=build /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
1111
COPY --from=build /opt /opt
12+
# Install FFmpeg and other necessary libraries
13+
RUN apt-get update -y && \
14+
apt-get install -y ffmpeg libsm6 libxext6 && \
15+
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)