Answers for "nest dockerfile"

0

nest dockerfile

FROM node:10 AS builder
WORKDIR /app
COPY ./package.json ./
RUN npm install
COPY . .
RUN npm run build


FROM node:10-alpine
WORKDIR /app
COPY --from=builder /app ./
CMD ["npm", "run", "start:prod"]
Posted by: Guest on November-18-2020

Browse Popular Code Answers by Language