diff --git a/examples/with-docker/Dockerfile b/examples/with-docker/Dockerfile index 57635340bb16f..0182d790e8d00 100644 --- a/examples/with-docker/Dockerfile +++ b/examples/with-docker/Dockerfile @@ -7,8 +7,8 @@ COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile # If using npm with a `package-lock.json` comment out above and use below instead -# COPY package.json package-lock.json / -# RUN npm install +# COPY package.json package-lock.json ./ +# RUN npm ci # Rebuild the source code only when needed FROM node:16-alpine AS builder