From 8f9dec29191bbd51ed21f50050b2b46fd9888a86 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Fri, 14 Jan 2022 00:21:47 +0530 Subject: [PATCH] git commit -m "1.0.2 Changed source to only Ubuntu 20.04 and made python3 pip installations explicit" --- Dockerfile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8dcb666..84887ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,11 @@ -# Getting base image ubuntu -FROM python:3.9.0-slim +FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive SHELL ["/bin/bash", "-c"] -MAINTAINER shivam +LABEL ranchimall="ranchimallfze@gmail.com" CMD { "echo", "Ranchi Mall" } -FROM ubuntu:latest - ## for apt to be noninteractive ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NONINTERACTIVE_SEEN true @@ -33,10 +30,10 @@ RUN git clone https://github.com/vivekteega/ftt-docker WORKDIR ftt-docker #RUN python3.9 -m venv ftt #RUN . ftt/bin/activate -RUN pip3 install chardet -RUN pip3 install arrow -RUN pip3 install socketio -RUN pip3 install requests +RUN python3 -m pip install chardet +RUN python3 -m pip install arrow +RUN python3 -m pip install socketio +RUN python3 -m pip install requests RUN sed -i "s|chardet==4.0.0|chardet|g" /ftt-docker/requirements.txt RUN touch config.ini RUN echo "[DEFAULT] \n\