FROM python:3.9 # Install FFmpeg RUN apt-get update && apt-get install -y ffmpeg WORKDIR /code # Create the directory and set permissions RUN mkdir -p /tmp/dash/test_stream && chmod 777 /tmp/dash/test_stream COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . /code CMD ["python", "validator.py"]