From bdf2d64a3ce41c7601b3e8c0d4518bc078af142e Mon Sep 17 00:00:00 2001 From: Atte Moisio Date: Wed, 3 Apr 2024 12:18:11 +0300 Subject: [PATCH] Compile translations during webapp image build --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f83c39bd2..a459fe56d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -72,7 +72,9 @@ COPY docker/services/uwsgi /etc/ RUN mkdir -p /var/log/uwsgi && \ chown -RHh simplified:simplified /var/log/uwsgi && \ mkdir /var/run/uwsgi && \ - chown simplified:simplified /var/run/uwsgi + chown simplified:simplified /var/run/uwsgi && \ + # Search url not used but script fails if not set + PALACE_SEARCH_URL=http://localhost:9200 core/bin/run util/compile_translations # Setup runit COPY docker/runit /etc/service/