From f1cc4994ff661fbaf8518c378454048ed0ab9d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 17 Sep 2021 16:17:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20pip=20install=20c?= =?UTF-8?q?ommand=20with=20flag=20--no-cache-dir=20to=20reduce=20disk=20us?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-images/python2.7.dockerfile | 4 ++-- docker-images/python3.6.dockerfile | 4 ++-- docker-images/python3.7.dockerfile | 4 ++-- docker-images/python3.8.dockerfile | 4 ++-- docker-images/python3.9.dockerfile | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docker-images/python2.7.dockerfile b/docker-images/python2.7.dockerfile index 2a42f8f..995e694 100644 --- a/docker-images/python2.7.dockerfile +++ b/docker-images/python2.7.dockerfile @@ -6,9 +6,9 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh -# Install requirements: uWSGI +# Install requirements COPY requirements.txt /tmp/requirements.txt -RUN pip install -r /tmp/requirements.txt +RUN pip install --no-cache-dir -r /tmp/requirements.txt EXPOSE 80 diff --git a/docker-images/python3.6.dockerfile b/docker-images/python3.6.dockerfile index a2bdadd..c1bcddc 100644 --- a/docker-images/python3.6.dockerfile +++ b/docker-images/python3.6.dockerfile @@ -6,9 +6,9 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh -# Install requirements: uWSGI +# Install requirements COPY requirements.txt /tmp/requirements.txt -RUN pip install -r /tmp/requirements.txt +RUN pip install --no-cache-dir -r /tmp/requirements.txt EXPOSE 80 diff --git a/docker-images/python3.7.dockerfile b/docker-images/python3.7.dockerfile index 5203e37..11b56ae 100644 --- a/docker-images/python3.7.dockerfile +++ b/docker-images/python3.7.dockerfile @@ -6,9 +6,9 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh -# Install requirements: uWSGI +# Install requirements COPY requirements.txt /tmp/requirements.txt -RUN pip install -r /tmp/requirements.txt +RUN pip install --no-cache-dir -r /tmp/requirements.txt EXPOSE 80 diff --git a/docker-images/python3.8.dockerfile b/docker-images/python3.8.dockerfile index 714a832..0b95ed9 100644 --- a/docker-images/python3.8.dockerfile +++ b/docker-images/python3.8.dockerfile @@ -6,9 +6,9 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh -# Install requirements: uWSGI +# Install requirements COPY requirements.txt /tmp/requirements.txt -RUN pip install -r /tmp/requirements.txt +RUN pip install --no-cache-dir -r /tmp/requirements.txt EXPOSE 80 diff --git a/docker-images/python3.9.dockerfile b/docker-images/python3.9.dockerfile index 73f49bb..64c8493 100644 --- a/docker-images/python3.9.dockerfile +++ b/docker-images/python3.9.dockerfile @@ -6,9 +6,9 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh -# Install requirements: uWSGI +# Install requirements COPY requirements.txt /tmp/requirements.txt -RUN pip install -r /tmp/requirements.txt +RUN pip install --no-cache-dir -r /tmp/requirements.txt EXPOSE 80