Add no cache dir option for pip

This commit is contained in:
2020-10-06 15:22:13 +02:00
parent 222ce86a6b
commit 6de719d2f4
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
FROM alpine:3.12
RUN apk update && apk add --no-cache bash git openssh python3 py3-pip
RUN pip3 install --no-cache-dir -q --upgrade pip
RUN pip3 install --no-cache-dir -q setuptools wheel Django django-extensions pyparsing pydot
RUN python -m pip install --upgrade pip setuptools wheel
RUN pip3 install --no-cache-dir Django django-extensions pyparsing pydot
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]