From 96fb2b1355c5e192519f8d9fce4b18910493b0f9 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Fri, 13 Nov 2020 18:21:28 +0100 Subject: [PATCH] Move pip3 to right place --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index da9b5b8..d8d760c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,12 @@ RUN apk add --update --no-cache git py3-six py3-pygments py3-yaml py3-gevent \ ## building missing python packages RUN apk add --no-cache --virtual build-deps py3-pip g++ python3-dev \ && pip3 install --no-cache-dir rapidfuzz colored polyglot pycld2 \ + && pip3 install --no-cache-dir --update -r requirements.txt \ && apk del build-deps ## copying WORKDIR /app COPY . /app -RUN mkdir -p /root/.cheat.sh/log/ && pip3 install --no-cache-dir --update -r requirements.txt \ +RUN mkdir -p /root/.cheat.sh/log/ \ && python3 lib/fetch.py fetch-all # installing server dependencies