fix(docker): add plugin-sdk to Dockerfile build
The plugin framework landed without updating the Dockerfile. The server now imports @paperclipai/plugin-sdk, so the deps stage needs its package.json for install and the build stage needs to compile it before building the server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
32c76e0012
commit
fd4df4db48
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ COPY packages/adapters/gemini-local/package.json packages/adapters/gemini-local/
|
|||
COPY packages/adapters/openclaw-gateway/package.json packages/adapters/openclaw-gateway/
|
||||
COPY packages/adapters/opencode-local/package.json packages/adapters/opencode-local/
|
||||
COPY packages/adapters/pi-local/package.json packages/adapters/pi-local/
|
||||
COPY packages/plugins/sdk/package.json packages/plugins/sdk/
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
|
|
@ -28,6 +29,7 @@ WORKDIR /app
|
|||
COPY --from=deps /app /app
|
||||
COPY . .
|
||||
RUN pnpm --filter @paperclipai/ui build
|
||||
RUN pnpm --filter @paperclipai/plugin-sdk build
|
||||
RUN pnpm --filter @paperclipai/server build
|
||||
RUN test -f server/dist/index.js || (echo "ERROR: server build output missing" && exit 1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue