From a7adeb917efb8d72e0213d7b3f3817a7f36d45cf Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 9 Jun 2021 16:00:29 +0200 Subject: [PATCH] root: fix permissions for docker files Signed-off-by: Jens Langhammer --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index b07ffc8a5..1e0fc5bc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,12 +73,12 @@ RUN apt-get update && \ mkdir /backups && \ chown authentik:authentik /backups -COPY ./authentik/ /authentik -COPY ./pyproject.toml / -COPY ./xml /xml -COPY ./tests /tests -COPY ./manage.py / -COPY ./lifecycle/ /lifecycle +COPY --chown=authentik:authentik ./authentik/ /authentik +COPY --chown=authentik:authentik ./pyproject.toml / +COPY --chown=authentik:authentik ./xml /xml +COPY --chown=authentik:authentik ./tests /tests +COPY --chown=authentik:authentik ./manage.py / +COPY --chown=authentik:authentik ./lifecycle/ /lifecycle COPY --from=builder /work/authentik /authentik-proxy USER authentik