update pip during build

This commit is contained in:
vabene1111 2021-02-08 11:41:28 +01:00
parent 086570ce90
commit 41e3ec41e9

View File

@ -11,6 +11,7 @@ RUN chmod +x boot.sh
RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev libressl-dev libffi-dev openssl-dev && \
python -m venv venv && \
python -m pip install --upgrade pip && \
venv/bin/pip install -r requirements.txt --no-cache-dir &&\
apk --purge del .build-deps