Monotone Arbeit nervt!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.0 KiB

FROM tensorflow/tensorflow:1.12.0-gpu
COPY Prototyp /home/Prototyp
COPY requis.txt /home/requis.txt
RUN apt-get update && apt-get install -y wget libssl-dev openssl
#RUN wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz
#RUN tar -xzvf Python-3.5.3.tgz
#RUN cd Python-3.5.3 && ./configure && make && make install
RUN python --version
RUN apt-get update && apt-get install -y virtualenv python-dev python-pip build-essential
#RUN python3.5 -m venv /home/venv
#ENV PATH="home/venv/bin:$PATH"
RUN python --version
#RUN pip3 install --upgrade pip
RUN pip install -r /home/requis.txt && python -m spacy download de
RUN pip install hickle==3.4.9 Twisted joblib
#nodejs npm
#RUN python -m pip install incremental
#RUN python -m pip install cffi
#RUN python -m pip install -r /home/requis.txt
#RUN python3 -m spacy download de
#RUN pip3 install pandas bs4
RUN apt-get update && apt-get install -y nodejs
#ENTRYPOINT ["tail"]
#CMD ["-f","/dev/null"]
CMD /bin/sh -c "cd /home/Prototyp && nodejs server.js"