From 4cc42ba7dac52a48303bc4f6675ddfce79082766 Mon Sep 17 00:00:00 2001 From: neoarz Date: Fri, 3 Oct 2025 13:09:47 -0400 Subject: [PATCH] fix(dockerfile): add ffmpeg install for stuff --- Dockerfile | 2 ++ docker-compose.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 028e726..207e580 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM python:3.12.9-slim-bookworm WORKDIR /bot COPY . /bot +RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* + RUN python -m pip install -r requirements.txt ENTRYPOINT [ "python", "bot.py" ] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index c99e68c..f7c276b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: volumes: - ./database:/bot/database - ./discord.log:/bot/discord.log + - ./cogs/media/files:/bot/cogs/media/files # Alternatively you can set the environment variables as such: # /!\ The token shouldn't be written here, as this file is not ignored from Git /!\