From 946f465a6e4aba2a2aeee8dd33666e64e9075449 Mon Sep 17 00:00:00 2001 From: Chris Midgley Date: Fri, 4 Mar 2022 17:59:57 +0000 Subject: [PATCH] fix(examples/with-docker): add npm comment for yarn build (#35040) 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` --- examples/with-docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/with-docker/Dockerfile b/examples/with-docker/Dockerfile index 9a478dd0b6c7..67bec4d37092 100644 --- a/examples/with-docker/Dockerfile +++ b/examples/with-docker/Dockerfile @@ -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