From 44c4264f7d7161c8346d490de5910d66092a558b Mon Sep 17 00:00:00 2001 From: Jenny Danzmayr Date: Sun, 8 Sep 2024 18:10:03 +0200 Subject: [PATCH] don't create and compile message files for external packages --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1c923271..484cb211 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -95,9 +95,9 @@ ENV C3NAV_DEBUG="" \ USER c3nav WORKDIR /app -RUN /app/env/bin/python manage.py makemessages -l en_UW && \ +RUN /app/env/bin/python manage.py makemessages --ignore "site-packages" -l en_UW && \ /app/env/bin/python genuwu.py && \ - /app/env/bin/python manage.py compilemessages && \ + /app/env/bin/python manage.py compilemessages --ignore "site-packages" && \ /app/env/bin/python manage.py collectstatic -l --no-input && \ /app/env/bin/python manage.py compress && \ rm -r /data/*