1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00

Copy requirements.txt

This commit is contained in:
Igor Chubin 2020-11-13 18:39:50 +01:00
parent 0a80be83ae
commit 372c5d0289

View File

@ -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