Help Enabling FFMPEG on

Hi everyone, I’ve been trying to make a discord bot that uses ffmpeg for music playback. It is remotely hosted on and I have installed ffmpeg to my computer’s PATH, but my bot cannot access it because it is remotely hosted. Is there a way to have my bot access ffmpeg like a Heroku buildpath or something similar?

Edit: I added RUN apk add ffmpeg like a previous post suggested but this doesn’t work because I get the error “apk: not found”. Any ideas?

You need to find out what the base image is in your dockerfile. apk add is specifically for alpine linux, and won’t work with any other distribution.

Yes, this ended up being the solution for me, thanks!

FROM python:3.10.4
COPY requirements.txt /main/
RUN pip install -r requirements.txt
RUN  apt-get -y update && apt-get install -y ffmpeg 
COPY . /main
CMD python