Revert "Use cd instead of WORKDIR in Dockerfile"

This commit is contained in:
Michael Lumish 2022-05-24 09:41:05 -07:00
parent 67cfbae7aa
commit ad6d650408
1 changed files with 4 additions and 2 deletions

View File

@ -22,8 +22,10 @@ FROM node:16-alpine as build
WORKDIR /node/src/grpc-node
COPY . .
RUN cd packages/grpc-js && npm install
RUN cd packages/grpc-js-xds && npm install
WORKDIR /node/src/grpc-node/packages/grpc-js
RUN npm install
WORKDIR /node/src/grpc-node/packages/grpc-js-xds
RUN npm install
FROM node:16-alpine
WORKDIR /node/src/grpc-node