From e7fca847e00692e5605b0b31a5e2be4108107fa6 Mon Sep 17 00:00:00 2001 From: deflax Date: Thu, 6 Feb 2025 12:36:39 +0000 Subject: [PATCH] Install ffmpeg in the discordbot --- src/discordbot/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/discordbot/Dockerfile b/src/discordbot/Dockerfile index 322da7b..beb12e3 100644 --- a/src/discordbot/Dockerfile +++ b/src/discordbot/Dockerfile @@ -1,11 +1,16 @@ FROM python:3-bookworm +RUN apt-get update && apt-get install -y --no-install-recommends \ +ffmpeg \ +&& \ +apt-get clean && \ +rm -rf /var/lib/apt/lists/* + WORKDIR /python-docker COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt - COPY . . CMD ["python", "./discordbot.py"] \ No newline at end of file