Commit d6058e9c authored by Indrek Jentson's avatar Indrek Jentson

Parandatud Dockerfile

parent 7c8c8e34
# DOCKERi skript # DOCKERi skript
FROM debian:jessie FROM debian:buster
# Kui Debianil pole vaikimisi kaasas GCC vajalikke teeke vms, siis tuleb need ka lasta installida. # Kui Debianil pole vaikimisi kaasas GCC vajalikke teeke vms, siis tuleb need ka lasta installida.
...@@ -38,7 +38,8 @@ WORKDIR /wrapper ...@@ -38,7 +38,8 @@ WORKDIR /wrapper
COPY config_dist.js /wrapper/config.js COPY config_dist.js /wrapper/config.js
RUN git clone 'https://gitlab.keeleressursid.ee/keeleliin/word_cloud_est.git' && \ RUN echo "Installing KL-WordCloud ..." && \
git clone 'https://gitlab.keeleressursid.ee/keeleliin/word_cloud_est.git' && \
echo "KL-WORDCLOUD is installed" echo "KL-WORDCLOUD is installed"
# wordcloud_cli.py jaoks on vajalikud setuptools ja numpy # wordcloud_cli.py jaoks on vajalikud setuptools ja numpy
...@@ -46,9 +47,10 @@ RUN git clone 'https://gitlab.keeleressursid.ee/keeleliin/word_cloud_est.git' && ...@@ -46,9 +47,10 @@ RUN git clone 'https://gitlab.keeleressursid.ee/keeleliin/word_cloud_est.git' &&
RUN pip install setuptools RUN pip install setuptools
RUN pip install --upgrade numpy RUN pip install --upgrade numpy
RUN pip install Pillow RUN pip install Pillow
RUN pip install matplotlib==2.2.4
RUN cd /wrapper/word_cloud_est && \ RUN cd /wrapper/word_cloud_est && \
python setup.py install && \ python setup.py install && \
cp /wrapper/word_cloud_est/build/scripts-2.7/wordcloud_cli.py /wrapper cp /wrapper/word_cloud_est/build/lib.linux-x86_64-2.7/wordcloud/wordcloud_cli.py /wrapper
# Tarkvara X paigaldamine lõppeb # Tarkvara X paigaldamine lõppeb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment