FROM python:3.10-slim-buster WORKDIR /app COPY requirements.txt requirements.txt RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y COPY . . CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=7860"]