18 lines
388 B
Docker
18 lines
388 B
Docker
FROM debian:bullseye
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y ffmpeg
|
|
RUN apt-get install -y python3-full
|
|
RUN apt-get install -y python3-pip
|
|
RUN apt-get install -y python-is-python3
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
ADD requirements.txt ./
|
|
RUN python3 -m pip install --no-cache-dir -r requirements.txt
|
|
|
|
ADD main.py ./
|
|
|
|
CMD [ "python", "./main.py" ]
|