root: remove /if/help (#14929)

Co-authored-by: Teffen Ellis <teffen@sister.software>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Marc 'risson' Schmitt
2025-06-06 17:21:07 +02:00
committed by GitHub
parent bb47a70310
commit 969fa82b7f
6 changed files with 124 additions and 60 deletions

21
website/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM --platform=${BUILDPLATFORM} docker.io/library/node:24 AS website-builder
ENV NODE_ENV=production
WORKDIR /work/website
RUN --mount=type=bind,target=/work/website/package.json,src=./website/package.json \
--mount=type=bind,target=/work/website/package-lock.json,src=./website/package-lock.json \
--mount=type=cache,id=npm-website,sharing=shared,target=/root/.npm \
npm ci --include=dev
COPY ./website /work/website/
COPY ./blueprints /work/blueprints/
COPY ./schema.yml /work/
COPY ./SECURITY.md /work/
RUN npm run build-bundled
FROM docker.io/library/nginx:1.27.5
COPY --from=website-builder /work/website/build /usr/share/nginx/html