try fix rpc-websockets ci build

This commit is contained in:
wphan
2026-01-05 14:46:23 -08:00
parent 40dff3315c
commit 3927271c82
2 changed files with 5 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ RUN yarn && yarn build
FROM public.ecr.aws/docker/library/node:22-alpine FROM public.ecr.aws/docker/library/node:22-alpine
RUN apk add python3 make g++ --virtual .build &&\ RUN apk add python3 make g++ --virtual .build &&\
npm install -C /lib bigint-buffer @triton-one/yellowstone-grpc@1.3.0 helius-laserstream@0.1.8 &&\ npm install -C /lib bigint-buffer @triton-one/yellowstone-grpc@1.3.0 helius-laserstream@0.1.8 rpc-websockets &&\
apk del .build apk del .build
COPY --from=builder /app/lib/ ./lib/ COPY --from=builder /app/lib/ ./lib/

View File

@@ -14,7 +14,10 @@ const commonConfig = {
external: [ external: [
'bigint-buffer', 'bigint-buffer',
'@triton-one/yellowstone-grpc', '@triton-one/yellowstone-grpc',
'helius-laserstream' 'helius-laserstream',
'rpc-websockets',
'rpc-websockets/dist/lib/client',
'rpc-websockets/dist/lib/client/websocket'
] ]
}; };