fix docker build

This commit is contained in:
Félix Voituret
2021-02-12 10:40:57 +01:00
parent 69588a7be6
commit ddc5debed7
2 changed files with 2 additions and 4 deletions

View File

@@ -2,13 +2,12 @@ ARG BASE=python:3.6
FROM ${BASE}
ARG SPLEETER_PACKAGE=spleeter
ARG SPLEETER_VERSION=1.5.3
ENV MODEL_PATH /model
RUN mkdir -p /model
RUN apt-get update && apt-get install -y ffmpeg libsndfile1
RUN pip install musdb museval
RUN pip install ${SPLEETER_PACKAGE}==${SPLEETER_VERSION}
RUN pip install spleeter==${SPLEETER_VERSION}
ENTRYPOINT ["spleeter"]