diff --git a/Dockerfile b/Dockerfile index 370ffb647..60e5b28e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ WORKDIR /usr/src/app # --build-arg ADFS_ISSUER= \ # --build-arg NEXTAUTH_SECRET= \ # --build-arg NEXTAUTH_URL= + +# Supplied by build pipeline ARG COMMIT ARG VECTOR_TILE_URL ARG MAPTILER_STYLE_KEY @@ -27,6 +29,10 @@ RUN yarn install --frozen-lockfile ENV NODE_ENV production ENV NODE_OPTIONS=--max_old_space_size=2048 +ENV NEXT_TELEMETRY_DISABLED=1 +ENV STORYBOOK_DISABLE_TELEMETRY=1 +ENV PORT 3000 + ENV NEXT_PUBLIC_COMMIT=$COMMIT ENV NEXT_PUBLIC_BASE_VECTOR_TILE_URL=$VECTOR_TILE_URL ENV NEXT_PUBLIC_MAPTILER_STYLE_KEY=$MAPTILER_STYLE_KEY @@ -34,7 +40,6 @@ ENV ADFS_ID=$ADFS_ID ENV ADFS_ISSUER=$ADFS_ISSUER ENV NEXTAUTH_SECRET=$NEXTAUTH_SECRET ENV NEXTAUTH_URL=$NEXTAUTH_URL -ENV PORT 3000 COPY ./ ./