Disable telemetry in build container (idk why)

This commit is contained in:
Daniel Kluge 2022-03-09 12:13:33 +01:00
parent 1b025831e6
commit b4a076a494

View File

@ -7,6 +7,7 @@ WORKDIR /app
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci RUN npm ci
COPY . . COPY . .
ENV NEXT_TELEMETRY_DISABLED 1
RUN npm run build RUN npm run build
# Production image, copy all the files and run next # Production image, copy all the files and run next