dockerfile: remove unnecessary pip upgrade
This commit is contained in:
parent
e6fea8c1c3
commit
d8202fea0f
|
@ -28,9 +28,6 @@ compile = no
|
||||||
no-cache-dir = True
|
no-cache-dir = True
|
||||||
END
|
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
|
COPY ./requirements.txt /opt/devicehub-django
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
# TODO hardcoded, is ignored in requirements.txt
|
# TODO hardcoded, is ignored in requirements.txt
|
||||||
|
|
Loading…
Reference in a new issue