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

Move pip3 to right place

This commit is contained in:
Igor Chubin
2020-11-13 18:21:28 +01:00
parent 027d107c93
commit 96fb2b1355
+2 -1
View File
@@ -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