Commit 39255de5 authored by Indrek Jentson's avatar Indrek Jentson

Muudatused Dockerfile's

parent 2ed9505e
......@@ -22,7 +22,8 @@ FROM debian:jessie
RUN apt-get update && \
apt-get -y install curl sudo && \
curl -sL https://deb.nodesource.com/setup | sudo bash - && \
apt-get -y install python build-essential nodejs wget && \
apt-get -y install build-essential nodejs wget && \
apt-get -y install g++ python3-dev python-dev libpython3-dev libpython-dev python3-pip python3-wheel python3-numpy swig && \
apt-get -y install git && echo "Installed 2"
# Tagame värskeima PIPi olemasolu
......@@ -37,10 +38,11 @@ RUN npm install -g forever
RUN mkdir -p /wrapper && mkdir -p /config && mkdir -p /wrapper/files && mkdir -p /wrapper/tmp && \
cd /wrapper && \
git clone 'https://github.com/BitWeb/keeleliin-wrapper-service.git' . && \
git clone 'https://github.com/BitWeb/keeleliin-wrapper-service.git' && \
git clone 'https://gitlab.keeleressursid.ee/indrek-jentson/py_tokenizer.git' && \
cp py_tokenizer/config_dist.js . && \
cp py_tokenizer/tokenizer.py . && \
mv keeleliin-wrapper-service/* . && \
npm install && \
echo "NPM is installed"
......
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