FROM ubuntu:latest

Update package lists

RUN apt-get update

Install ffmpeg

RUN apt-get install -y ffmpeg

Set the working directory

WORKDIR /app

Copy your application code into the container

COPY . /app

Set the command to be run when the container starts

CMD ["python", "app.py"]

帮我用 dockerfile 添加最新版 ffmpeg其中ffmpeg直接用现有二进制包 不构建ffmpeg

原文地址: https://www.cveoy.top/t/topic/cfjF 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录