wkiv363 3 years ago
parent
commit
5a73bf7e68
  1. 54
      Dockerfile
  2. 1
      my.timezone

54
Dockerfile

@ -0,0 +1,54 @@
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
RUN pip3 install --upgrade pip
RUN pip3 install django==3.1.5
RUN pip install tensorflow-cpu==2.6.0
RUN pip 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 ls -la

1
my.timezone

@ -0,0 +1 @@
Europe/Berlin
Loading…
Cancel
Save