build: updated Dockerfile to include patch files during

- Updated Dockerfile to include patch files during dependency installation steps.
- Included patch files in Dockerfile.robomp to ensure patched dependencies are correctly resolved during the install phase.
This commit is contained in:
can1357
2026-06-19 03:30:31 +02:00
parent 0cfca30b24
commit 3d67eebcb2
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -28,6 +28,9 @@ WORKDIR /work
# --filter robomp-web` to hydrate just the dashboard's node_modules.
COPY package.json bun.lock ./
COPY python/robomp/web/package.json ./python/robomp/web/package.json
# Root package.json declares patchedDependencies, so the patch file must be
# present before any root-level `bun install` (even a filtered one).
COPY patches/*.patch ./patches/
RUN bun install --filter robomp-web
COPY --exclude=node_modules --exclude=dist python/robomp/web/ ./python/robomp/web/
RUN bun --cwd=python/robomp/web run build