Skip to content

Commit

Permalink
fix(examples/with-docker): add npm comment for yarn build (#35040)
Browse files Browse the repository at this point in the history
There was an `npm` equivalent for `yarn install` (`npm ci`) but not one for `yarn build`. I've added `npm run build` as a commented out option.

## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`
  • Loading branch information
midgleyc committed Mar 4, 2022
1 parent 7083dcf commit 946f465
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/with-docker/Dockerfile
Expand Up @@ -23,6 +23,9 @@ COPY . .

RUN yarn build

# If using npm comment out above and use below instead
# RUN npm run build

# Production image, copy all the files and run next
FROM node:16-alpine AS runner
WORKDIR /app
Expand Down

0 comments on commit 946f465

Please sign in to comment.