Revert "root: fix permissions for docker files"

This reverts commit a7adeb917e.
This commit is contained in:
Jens Langhammer 2021-06-09 16:04:17 +02:00
parent b73de96aa6
commit 7eef501446

View file

@ -73,12 +73,12 @@ RUN apt-get update && \
mkdir /backups && \ mkdir /backups && \
chown authentik:authentik /backups chown authentik:authentik /backups
COPY --chown=authentik:authentik ./authentik/ /authentik COPY ./authentik/ /authentik
COPY --chown=authentik:authentik ./pyproject.toml / COPY ./pyproject.toml /
COPY --chown=authentik:authentik ./xml /xml COPY ./xml /xml
COPY --chown=authentik:authentik ./tests /tests COPY ./tests /tests
COPY --chown=authentik:authentik ./manage.py / COPY ./manage.py /
COPY --chown=authentik:authentik ./lifecycle/ /lifecycle COPY ./lifecycle/ /lifecycle
COPY --from=builder /work/authentik /authentik-proxy COPY --from=builder /work/authentik /authentik-proxy
USER authentik USER authentik