From 0e5c5ca874688a4eb5cfccf07cf863e3feceb511 Mon Sep 17 00:00:00 2001 From: Shivam Jha Date: Wed, 10 Jun 2020 23:41:18 +0530 Subject: [PATCH] Fixed Docker build error --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5fb7f5a77..f758e13c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,13 @@ FROM ubuntu:18.04 WORKDIR /usr/src/app RUN chmod 777 /usr/src/app RUN apt-get -qq update -RUN apt-get -qq install -y aria2 python3 python3-pip \ +RUN apt-get -qq install -y aria2 git python3 python3-pip \ locales python3-lxml \ curl pv jq ffmpeg COPY requirements.txt . -RUN pip3 install --no-cache-dir -r requirements.txt +RUN pip3 install --no-cache-dir -r requirements.txt && \ + apt-get -qq purge git + RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en