FROM python:3.7-slim RUN mkdir malware_detection_scripts && mkdir malware_detection_utils COPY malware_detection_scripts /malware_detection_scripts COPY malware_detection_utils /malware_detection_scripts/malware_detection_utils COPY requirements.txt . RUN pip install -r requirements.txt RUN pip install --upgrade pip RUN apt-get update RUN apt-get install --no-install-recommends ffmpeg libsm6 libxext6 -y RUN rm -rf /var/lib/apt/lists/*