From b1a42bb43b12b9a0acf45e592495f6f92bfcb775 Mon Sep 17 00:00:00 2001 From: Kevin Meinhardt Date: Mon, 19 Feb 2024 18:38:17 +0100 Subject: [PATCH] Re-use udpate_assets command in docker build --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1de74b6913bd..d3622bf87794 100644 --- a/Dockerfile +++ b/Dockerfile @@ -103,8 +103,6 @@ WORKDIR ${HOME} # Build locales, assets, build id. RUN locale/compile-mo.sh locale \ - && python manage.py compress_assets \ - && python manage.py generate_jsi18n_files \ - && python manage.py collectstatic --noinput \ + && make update_assets \ && npm prune --production \ && ./scripts/generate_build.py > build.py