Skip to content

Commit

Permalink
docs(deployment): Update working directory in builder stage (#22478)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexknipfer committed Feb 24, 2021
1 parent 1253a11 commit e5bc0cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ RUN yarn install --frozen-lockfile

# Rebuild the source code only when needed
FROM node:alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build
Expand Down

0 comments on commit e5bc0cd

Please sign in to comment.