Skip to content

Commit 67cfbae

Browse files
Use cd instead of WORKDIR in Dockerfile
Co-authored-by: Sergii Tkachenko <[email protected]>
1 parent 55175ae commit 67cfbae

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/grpc-js-xds/interop/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ FROM node:16-alpine as build
2222
WORKDIR /node/src/grpc-node
2323
COPY . .
2424

25-
WORKDIR /node/src/grpc-node/packages/grpc-js
26-
RUN npm install
27-
WORKDIR /node/src/grpc-node/packages/grpc-js-xds
28-
RUN npm install
25+
RUN cd packages/grpc-js && npm install
26+
RUN cd packages/grpc-js-xds && npm install
2927

3028
FROM node:16-alpine
3129
WORKDIR /node/src/grpc-node

0 commit comments

Comments
 (0)