try to pin rpc-websockets version in dockerfile
This commit is contained in:
@@ -16,7 +16,7 @@ RUN yarn && yarn build
|
||||
|
||||
FROM public.ecr.aws/docker/library/node:22-alpine
|
||||
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
|
||||
|
||||
COPY --from=builder /app/lib/ ./lib/
|
||||
|
||||
@@ -14,7 +14,9 @@ const commonConfig = {
|
||||
external: [
|
||||
'bigint-buffer',
|
||||
'@triton-one/yellowstone-grpc',
|
||||
'helius-laserstream'
|
||||
'helius-laserstream',
|
||||
'rpc-websockets',
|
||||
'rpc-websockets/*'
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user