From 372c5d0289ca399b117fb6037b1de620ff11285b Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Fri, 13 Nov 2020 18:39:50 +0100 Subject: [PATCH] Copy requirements.txt --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a3f5c8c..2ae7293 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,9 @@ FROM alpine:3.12 RUN apk add --update --no-cache git py3-six py3-pygments py3-yaml py3-gevent \ libstdc++ py3-colorama py3-requests py3-icu py3-redis ## building missing python packages +COPY requirements.txt /tmp RUN apk add --no-cache --virtual build-deps py3-pip g++ python3-dev \ - && pip3 install --no-cache-dir --upgrade -r requirements.txt \ + && pip3 install --no-cache-dir --upgrade -r /tmp/requirements.txt \ && pip3 install --no-cache-dir rapidfuzz colored polyglot pycld2 \ && apk del build-deps ## copying