root: fix permissions for docker files

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-09 16:00:29 +02:00
parent 4ee2f951da
commit a7adeb917e
1 changed files with 6 additions and 6 deletions

View File

@ -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