From 4d80a7bb1920e0cac2b8d5dc9e77ae7170555080 Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 2 Jul 2026 22:57:59 +0200 Subject: [PATCH] build(dockerfile): updated dependency installation to include full workspace - Updated the bun install command to remove workspace filtering and dependency omission. - Enabled installation of all workspace dependencies to ensure parity with the development environment. --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad0df1e60..03bd4a558 100644 --- a/Dockerfile +++ b/Dockerfile @@ -168,10 +168,8 @@ FROM pi-base AS pi-runtime ENV PI_ROOT=/pi WORKDIR /pi -# Install only the CLI runtime graph. Docker images run the source checkout via -# Bun, but they do not need workspace devDependencies or optional local-inference -# packages; those native ONNX stacks are loaded only by features that request -# them explicitly. +# Same manifests-only layered install pattern as natives-builder — `bun install` +# only re-runs when a package.json / lockfile changes. COPY --parents \ package.json bun.lock bunfig.toml \ patches/*.patch \ @@ -181,7 +179,7 @@ COPY --parents \ python/robomp/web/package.json \ /pi/ -RUN bun install --filter @oh-my-pi/pi-coding-agent --production --omit optional --frozen-lockfile --ignore-scripts +RUN bun install --frozen-lockfile --ignore-scripts # Pi source. `Dockerfile.dockerignore` keeps **/node_modules out of the context # so stale isolated-linker symlinks from a host install can't shadow the