root: compile messages for backend in docker

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-09 20:11:51 +02:00
parent 846c971674
commit dfefdbfd7c
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ COPY ./manage.py /
COPY ./lifecycle/ /lifecycle
COPY --from=builder /work/authentik /authentik-proxy
RUN /manage.py compilemessages
USER authentik
ENV TMPDIR /dev/shm/