try fix rpc-websockets ci build
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
@@ -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'
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user