From d8202fea0faf316feed7b0ec4cd5af2ec8c84988 Mon Sep 17 00:00:00 2001 From: pedro Date: Mon, 16 Dec 2024 19:06:11 +0100 Subject: [PATCH] dockerfile: remove unnecessary pip upgrade --- docker/devicehub-django.Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/devicehub-django.Dockerfile b/docker/devicehub-django.Dockerfile index 6f5ec95..0f0d408 100644 --- a/docker/devicehub-django.Dockerfile +++ b/docker/devicehub-django.Dockerfile @@ -28,9 +28,6 @@ compile = no no-cache-dir = True END -# upgrade pip, which might fail on lxc, then remove the "corrupted file" -RUN python -m pip install --upgrade pip || (rm -rf /usr/local/lib/python3.11/site-packages/pip-*.dist-info && python -m pip install --upgrade pip) - COPY ./requirements.txt /opt/devicehub-django RUN pip install -r requirements.txt # TODO hardcoded, is ignored in requirements.txt