1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Upgrade pygments

This commit is contained in:
Igor Chubin
2020-11-13 19:02:43 +00:00
parent 372c5d0289
commit a538409f70
+3 -3
View File
@@ -5,9 +5,9 @@ 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 /tmp/requirements.txt \
&& pip3 install --no-cache-dir rapidfuzz colored polyglot pycld2 \
RUN apk add --no-cache --virtual build-deps py3-pip g++ python3-dev libffi-dev \
&& pip3 install --no-cache-dir --upgrade pygments \
&& pip3 install --no-cache-dir -r /tmp/requirements.txt \
&& apk del build-deps
## copying
WORKDIR /app