try to pin rpc-websockets version in dockerfile

This commit is contained in:
Nick Caradonna
2026-01-05 18:47:11 -05:00
parent a05182a812
commit b5de531dae
2 changed files with 4 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 rpc-websockets &&\ npm install -C /lib bigint-buffer @triton-one/yellowstone-grpc@1.3.0 helius-laserstream@0.1.8 rpc-websockets@7.5.1 &&\
apk del .build apk del .build
COPY --from=builder /app/lib/ ./lib/ COPY --from=builder /app/lib/ ./lib/

View File

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