From 7a1b3ececd0a97f409aeb8f7c85f06dccc6f5f59 Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sat, 16 Nov 2024 13:56:15 +0100 Subject: [PATCH] Update jitsi_admin_application_dockerfile.txt --- jitsi_admin_application_dockerfile.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jitsi_admin_application_dockerfile.txt b/jitsi_admin_application_dockerfile.txt index 37853bb..7eeae57 100644 --- a/jitsi_admin_application_dockerfile.txt +++ b/jitsi_admin_application_dockerfile.txt @@ -49,10 +49,10 @@ RUN echo "# Docker Cron Jobs" > /etc/crontabs/nobody \ && chmod +x /etc/crontabs/nobody RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/02-theme.sh \ - && echo "if [ -d "/var/www/html/data/theme" ]" >> /docker-entrypoint-init.d/02-theme.sh \ + && echo "if [ -d "${WEBDIR}/data/theme" ]" >> /docker-entrypoint-init.d/02-theme.sh \ && echo "then" >> /docker-entrypoint-init.d/02-theme.sh \ - && echo " cp /var/www/html/data/theme/theme/*.json.signed* /var/www/html/theme/" >> /docker-entrypoint-init.d/02-theme.sh \ - && echo " cp -r /var/www/html/data/theme/public/* /var/www/html/public/" >> /docker-entrypoint-init.d/02-theme.sh \ + && echo " cp ${WEBDIR}/data/theme/theme/*.json.signed ${WEBDIR}/theme/" >> /docker-entrypoint-init.d/02-theme.sh \ + && echo " cp -r ${WEBDIR}/data/theme/public/* ${WEBDIR}/public/" >> /docker-entrypoint-init.d/02-theme.sh \ && echo "fi" >> /docker-entrypoint-init.d/02-theme.sh \ && chmod +x /docker-entrypoint-init.d/02-theme.sh