Skip to content

Commit

Permalink
fix(examples/with-docker): NEXT_TELEMETRY_DISABLED example
Browse files Browse the repository at this point in the history
  • Loading branch information
KateKate committed Oct 16, 2021
1 parent 701fa99 commit 5f6ede3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/with-docker/Dockerfile
Expand Up @@ -11,6 +11,12 @@ FROM node:14-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules

# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry.
# ENV NEXT_TELEMETRY_DISABLED 1

RUN yarn build

# Production image, copy all the files and run next
Expand All @@ -33,9 +39,4 @@ USER nextjs

EXPOSE 3000

# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry.
# ENV NEXT_TELEMETRY_DISABLED 1

CMD ["yarn", "start"]

0 comments on commit 5f6ede3

Please sign in to comment.