diff --git a/Dockerfile b/Dockerfile index 7200d95a1a..ba2f00eaa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -186,7 +186,8 @@ WORKDIR /ragflow # Install build-only dependencies for compiling Python C extensions. # These are not inherited from base to keep the production image smaller. RUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \ - apt install -y build-essential libpython3-dev libicu-dev libgbm-dev && \ + apt-get update --fix-missing && \ + apt-get install -y build-essential libpython3-dev libicu-dev libgbm-dev && \ rm -rf /var/lib/apt/lists/* # install dependencies from uv.lock file