diff --git a/Dockerfile b/Dockerfile index 425b93a5f4ea21dbc5c88828f25b2b8ed14ad9c4..7e22bbfa52c3a6a62319c632420686d13b2af926 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 c05e65611589e29bea0b85739ffd9e18856208cd..dcad9ed179f5668a6ee0137c04bbeaabc146ccb8 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