File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
packages/grpc-js-xds/interop Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 16
16
# following command from grpc-node directory:
17
17
# docker build -t <TAG> -f packages/grpc-js-xds/interop/Dockerfile .
18
18
19
- FROM node:16-alpine
19
+ FROM node:16-alpine as build
20
20
21
21
# Make a grpc-node directory and copy the repo into it.
22
22
WORKDIR /node/src/grpc-node
@@ -27,4 +27,9 @@ RUN npm install
27
27
WORKDIR /node/src/grpc-node/packages/grpc-js-xds
28
28
RUN npm install
29
29
30
+ FROM node:16-alpine
31
+ WORKDIR /node/src/grpc-node
32
+ COPY --from=build /node/src/grpc-node/packages/grpc-js ./packages/grpc-js/
33
+ COPY --from=build /node/src/grpc-node/packages/grpc-js-xds ./packages/grpc-js-xds/
34
+
30
35
ENTRYPOINT [ "node" , "/node/src/grpc-node/packages/grpc-js-xds/build/interop/xds-interop-client" ]
You can’t perform that action at this time.
0 commit comments