Fix docker image opea/edgecraftrag security issue #1577 (#1617)

Signed-off-by: Zhu, Yongbo <yongbo.zhu@intel.com>
This commit is contained in:
Zhu Yongbo
2025-03-05 22:13:53 +08:00
committed by GitHub
parent 24cacaaa48
commit 8a5ad1fc72
3 changed files with 5 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ RUN mkdir -p /home/user/gradio_cache
ENV GRADIO_TEMP_DIR=/home/user/gradio_cache
WORKDIR /home/user/ui
RUN pip install --no-cache-dir --upgrade pip setuptools && \
RUN pip install --no-cache-dir --upgrade pip setuptools==70.0.0 && \
pip install --no-cache-dir -r requirements.txt
USER user