Install ffmpeg in the discordbot
This commit is contained in:
parent
960beb36ff
commit
e7fca847e0
1 changed files with 6 additions and 1 deletions
|
@ -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"]
|
Loading…
Add table
Reference in a new issue