FROM python:3.7

RUN mkdir -p /model
ENV MODEL_PATH /model
COPY audio_example.mp3 .

RUN apt-get update && apt-get install -y ffmpeg libsndfile1
RUN pip install musdb museval
RUN pip install spleeter==1.4.9

ENTRYPOINT ["spleeter"]