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