diff --git a/Dockerfile b/Dockerfile index 3d1404af35..c2bc5da757 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ # Stage 1: Build website FROM --platform=${BUILDPLATFORM} docker.io/library/node:22 AS website-builder -ENV NODE_ENV=production +ENV NODE_ENV=production \ + GIT_UNAVAILABLE=true WORKDIR /work/website diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index e24e74b6e2..ab5f2865c4 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -102,7 +102,8 @@ const createConfig = (): Config => { docs: { id: "docs", sidebarPath: "./sidebars.js", - showLastUpdateTime: true, + showLastUpdateTime: + process.env.GIT_UNAVAILABLE != "true", editUrl: "https://github.com/goauthentik/authentik/edit/main/website/", docItemComponent: "@theme/ApiItem",