fix(dockerfile): add ffmpeg install for stuff

This commit is contained in:
neoarz
2025-10-03 13:09:47 -04:00
parent 2c0b0afb39
commit 4cc42ba7da
2 changed files with 3 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ FROM python:3.12.9-slim-bookworm
WORKDIR /bot WORKDIR /bot
COPY . /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 RUN python -m pip install -r requirements.txt
ENTRYPOINT [ "python", "bot.py" ] ENTRYPOINT [ "python", "bot.py" ]

View File

@@ -7,6 +7,7 @@ services:
volumes: volumes:
- ./database:/bot/database - ./database:/bot/database
- ./discord.log:/bot/discord.log - ./discord.log:/bot/discord.log
- ./cogs/media/files:/bot/cogs/media/files
# Alternatively you can set the environment variables as such: # Alternatively you can set the environment variables as such:
# /!\ The token shouldn't be written here, as this file is not ignored from Git /!\ # /!\ The token shouldn't be written here, as this file is not ignored from Git /!\