Skip to content

Commit 0e5c5ca

Browse files
Fixed Docker build error
1 parent 3bcc7db commit 0e5c5ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ FROM ubuntu:18.04
33
WORKDIR /usr/src/app
44
RUN chmod 777 /usr/src/app
55
RUN apt-get -qq update
6-
RUN apt-get -qq install -y aria2 python3 python3-pip \
6+
RUN apt-get -qq install -y aria2 git python3 python3-pip \
77
locales python3-lxml \
88
curl pv jq ffmpeg
99
COPY requirements.txt .
10-
RUN pip3 install --no-cache-dir -r requirements.txt
10+
RUN pip3 install --no-cache-dir -r requirements.txt && \
11+
apt-get -qq purge git
12+
1113
RUN locale-gen en_US.UTF-8
1214
ENV LANG en_US.UTF-8
1315
ENV LANGUAGE en_US:en

0 commit comments

Comments
 (0)