root: don't compilemessages in build process since it requires redis, do it on startup

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-09 23:12:35 +02:00
parent 834bddd0da
commit a1adf382af
1 changed files with 0 additions and 2 deletions

View File

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