mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-06-26 22:00:13 +00:00
build: fix CVE-2022-40897 (#7080)
This commit is contained in:
parent
f5645a4454
commit
79b32cd755
@ -19,7 +19,9 @@ WORKDIR /opt/haystack
|
||||
RUN python3 -m venv --system-site-packages /opt/venv
|
||||
ENV PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
# Upgrade setuptools due to https://nvd.nist.gov/vuln/detail/CVE-2022-40897
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install --no-cache-dir -U setuptools && \
|
||||
pip install --no-cache-dir .
|
||||
|
||||
FROM $base_image AS final
|
||||
|
Loading…
x
Reference in New Issue
Block a user