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.
60 lines
1.5 KiB
60 lines
1.5 KiB
FROM ubuntu:20.04
|
|
MAINTAINER "Gabriel Menessy" <gabriel.menessy@komm.one>
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
ENV LANG C.UTF-8
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
RUN apt-get autoremove
|
|
RUN apt-get autoclean
|
|
|
|
RUN apt -y install tzdata
|
|
RUN apt-get -y install \
|
|
apt-utils \
|
|
ca-certificates \
|
|
openssl \
|
|
libssl1.1 \
|
|
python3 \
|
|
python3-pip \
|
|
libffi-dev \
|
|
libssl-dev \
|
|
libmysqlclient-dev \
|
|
libxml2-dev \
|
|
libxslt-dev \
|
|
libjpeg-dev \
|
|
libfreetype6-dev \
|
|
zlib1g-dev \
|
|
net-tools
|
|
RUN apt install -y build-essential libssl-dev libffi-dev python3-dev
|
|
ENV TZ=Europe/Berlin
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
RUN dpkg-reconfigure -f noninteractive tzdata
|
|
# Set locale and install packages
|
|
ADD containercontent /
|
|
|
|
|
|
|
|
|
|
RUN pip3 install --upgrade pip
|
|
RUN pip3 install django==3.2.8
|
|
#RUN pip3 install --ignore-installed --upgrade /opt/tensorflow-2.6.2-cp38-cp38-linux_x86_64.whl
|
|
#RUN pip install tensorflow-cpu==2.6.0
|
|
RUN pip3 install --ignore-installed --upgrade /opt/tensorflow-2.7.0-cp38-cp38-linux_x86_64.whl
|
|
RUN pip3 install python-Levenshtein
|
|
RUN pip3 install tflearn==0.5.0
|
|
RUN pip3 install nltk
|
|
RUN pip3 install pyspellchecker
|
|
RUN pip3 install pysummarize
|
|
RUN pip3 install dateparser
|
|
RUN pip3 install requests
|
|
RUN pip3 install fuzzywuzzy
|
|
RUN pip3 install geotext
|
|
RUN pip3 install HanTa
|
|
RUN pip3 install beautifulsoup4
|
|
WORKDIR "/"
|
|
RUN pip3 list
|
|
|
|
|
|
|