From 995bff0dec77ec276c819547fc50fc1429d32158 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Mon, 20 Apr 2026 13:51:53 -0700 Subject: [PATCH] [Fix] Dockerfile.non_root: drop prisma --version sanity call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit prisma --version invokes the Schema Engine, which has no binary for the Wolfi base image (only debian). In the baseline this was silenced by a trailing || true wrapping the whole prisma chain; removing that wrapper uncovered the failure on arm64 builds. The main Dockerfile does not call prisma --version at all, so drop it here to match — prisma generate is sufficient to validate the toolchain. --- docker/Dockerfile.non_root | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_root index b25c58ed7a..e916167609 100644 --- a/docker/Dockerfile.non_root +++ b/docker/Dockerfile.non_root @@ -90,8 +90,7 @@ RUN --mount=type=cache,target=/app/.cache/uv,id=litellm-uv-cache \ --python python3; \ fi -RUN prisma generate --schema=./schema.prisma && \ - prisma --version +RUN prisma generate --schema=./schema.prisma RUN sed -i 's/\r$//' docker/entrypoint.sh && chmod +x docker/entrypoint.sh && \ sed -i 's/\r$//' docker/prod_entrypoint.sh && chmod +x docker/prod_entrypoint.sh