From 61bdbf243ab25044db67cb99f5a9f515129ff048 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 29 Aug 2023 19:24:59 +0200 Subject: [PATCH] copy robots|security.txt from web-builder Signed-off-by: Marc 'risson' Schmitt --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc1ce02da..c3bc61d82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,8 +46,8 @@ RUN --mount=type=bind,target=/go/src/goauthentik.io/go.mod,src=./go.mod \ COPY ./cmd /go/src/goauthentik.io/cmd COPY ./authentik/lib /go/src/goauthentik.io/authentik/lib COPY ./web/static.go /go/src/goauthentik.io/web/static.go -COPY ./web/robots.txt /go/src/goauthentik.io/web/robots.txt -COPY ./web/security.txt /go/src/goauthentik.io/web/security.txt +COPY --from=web-builder /work/web/robots.txt /go/src/goauthentik.io/web/robots.txt +COPY --from=web-builder /work/web/security.txt /go/src/goauthentik.io/web/security.txt COPY ./internal /go/src/goauthentik.io/internal COPY ./go.mod /go/src/goauthentik.io/go.mod COPY ./go.sum /go/src/goauthentik.io/go.sum