From 5a73bf7e68594fb4b5cf42847655ecfd63d19482 Mon Sep 17 00:00:00 2001 From: wkiv363 Date: Tue, 25 Jan 2022 16:11:29 +0100 Subject: [PATCH] . --- Dockerfile | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ my.timezone | 1 + 2 files changed, 55 insertions(+) create mode 100644 Dockerfile create mode 100644 my.timezone diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ce53ad2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,54 @@ +FROM ubuntu:20.04 +MAINTAINER "Gabriel Menessy" + + +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 \ No newline at end of file diff --git a/my.timezone b/my.timezone new file mode 100644 index 0000000..94d5acc --- /dev/null +++ b/my.timezone @@ -0,0 +1 @@ +Europe/Berlin