Skip to content

Commit

Permalink
Use cd instead of WORKDIR in Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Sergii Tkachenko <[email protected]>
  • Loading branch information
murgatroid99 and sergiitk authored May 23, 2022
1 parent 55175ae commit 67cfbae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/grpc-js-xds/interop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ FROM node:16-alpine as build
WORKDIR /node/src/grpc-node
COPY . .

WORKDIR /node/src/grpc-node/packages/grpc-js
RUN npm install
WORKDIR /node/src/grpc-node/packages/grpc-js-xds
RUN npm install
RUN cd packages/grpc-js && npm install
RUN cd packages/grpc-js-xds && npm install

FROM node:16-alpine
WORKDIR /node/src/grpc-node
Expand Down

0 comments on commit 67cfbae

Please sign in to comment.