Install ffmpeg in the discordbot

This commit is contained in:
deflax 2025-02-06 12:36:39 +00:00
parent 960beb36ff
commit e7fca847e0

View file

@ -1,11 +1,16 @@
FROM python:3-bookworm 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 WORKDIR /python-docker
COPY requirements.txt requirements.txt COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
COPY . . COPY . .
CMD ["python", "./discordbot.py"] CMD ["python", "./discordbot.py"]