From f1d9789e43f5fef43dd3956d05fdd05aa3a6f865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 6 Aug 2020 22:20:21 +0200 Subject: [PATCH] install scikit learn from repo --- Dockerfile | 2 ++ requirements.txt | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 846cd87..9e849f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,6 @@ 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 diff --git a/requirements.txt b/requirements.txt index fe728d8..5354137 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,6 @@ pyAudioAnalysis==0.3.0 pydub==0.23.1 pyparsing==2.4.6 python-dateutil==2.8.1 -scikit-learn==0.21.3 scipy==1.4.1 simplejson==3.17.0 six==1.14.0