Fix CVE-2024-6345 by upgrading setuptools
This commit is contained in:
@@ -8,7 +8,7 @@ FROM base AS builder
|
|||||||
|
|
||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
RUN --mount=type=cache,target=/tmp/pip_cache \
|
RUN --mount=type=cache,target=/tmp/pip_cache \
|
||||||
python3 -m pip install --upgrade pip && \
|
python3 -m pip install --upgrade pip setuptools && \
|
||||||
pip install \
|
pip install \
|
||||||
-r requirements.txt \
|
-r requirements.txt \
|
||||||
--extra-index-url https://www.piwheels.org/simple \
|
--extra-index-url https://www.piwheels.org/simple \
|
||||||
|
|||||||
Reference in New Issue
Block a user