From e1fe275d8ac1da62fac26ab8aa8252de45ed82f3 Mon Sep 17 00:00:00 2001
From: Szymon Ciombor <szymekc@e-science.pl>
Date: Mon, 14 Sep 2020 13:38:33 +0200
Subject: [PATCH] get ltlearn and ltcore from pypi

---
 Dockerfile       | 15 +--------------
 requirements.txt |  4 +++-
 2 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 425b93a..7e22bbf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,22 +20,9 @@ WORKDIR /tmp
 RUN wget http://prdownloads.sourceforge.net/weka/weka-3-8-3.zip  && \
     unzip  weka-3-8-3.zip
 
-
-# Change it to pypi
-COPY module/ /home/worker/
-RUN python -m easy_install /home/worker/ltcore*
-
-
-# Change it to pypi
-WORKDIR /tmp
-RUN wget http://www.nlp.pwr.wroc.pl/download/lexcsd/ltlearn-0.2.0.tar.gz && \
-    tar -xvf ltlearn-0.2.0.tar.gz && \
-    cd ltlearn-0.2.0 && \
-    python setup.py install
-
 WORKDIR /home/worker
 COPY ./src ./src
 COPY ./main.py .
 COPY requirements.txt .
 RUN pip install -r requirements.txt
-CMD ["python","main.py"]
\ No newline at end of file
+CMD ["python","main.py"]
diff --git a/requirements.txt b/requirements.txt
index c05e656..dcad9ed 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,4 +2,6 @@ nlp-ws
 numpy==1.14.3
 scikit-learn==0.19.0
 scipy==0.19.1
-sqlalchemy
\ No newline at end of file
+sqlalchemy
+ltcore
+ltlearn
-- 
GitLab