Unverified Commit e5bc0cda authored by Alex's avatar Alex Committed by GitHub

docs(deployment): Update working directory in builder stage (#22478)

Update docker file example in deploy documentation to use correct working directory in builder stage. It will fail to copy files from that stage since it's attempting to copy files that don't exist.
parent 1253a119
...@@ -95,6 +95,7 @@ RUN yarn install --frozen-lockfile ...@@ -95,6 +95,7 @@ RUN yarn install --frozen-lockfile
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM node:alpine AS builder FROM node:alpine AS builder
WORKDIR /app
COPY . . COPY . .
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
RUN yarn build RUN yarn build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment