FROM python:3.8

WORKDIR /app

COPY requirements.txt .

RUN apt update && apt install -y libsndfile1-dev libsndfile1 python3-sklearn python3-sklearn-lib && apt clean

RUN pip install cython numpy==1.18.2 && pip install -r requirements.txt