mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
fix(dockerfile): add ffmpeg install for stuff
This commit is contained in:
@@ -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" ]
|
||||
@@ -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 /!\
|
||||
|
||||
Reference in New Issue
Block a user