From c8dec95a618cbd4bffe7cf51e500181f62c0566e Mon Sep 17 00:00:00 2001 From: queenkjuul Date: Tue, 9 Dec 2025 16:36:01 -0600 Subject: [PATCH] fix: restore working persistent themes and plugins per readme example --- Dockerfile | 2 +- docker-entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d6ba6b..41537ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ WORKDIR /tmp RUN curl -o bludit.zip ${bludit_url} && \ unzip bludit.zip && \ rm -rf /usr/share/nginx/html && \ - mv bludit /usr/share/nginx/html && \ + cp -R bludit /usr/share/nginx/html && \ chown -R www-data:www-data /usr/share/nginx/html && \ chmod -R 755 /usr/share/nginx/html && \ sed -i "s/'DEBUG_MODE', FALSE/'DEBUG_MODE', TRUE/g" /usr/share/nginx/html/bl-kernel/boot/init.php && \ diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c7f6f5c..c3fa987 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -7,7 +7,7 @@ plugin_dir=/usr/share/nginx/html/bl-plugins if [ -z "$(ls -A $theme_dir)" ]; then echo "bl-themes directory is empty, initializing..." cp -r /tmp/bludit/bl-themes/* $theme_dir - chown -R nginx. $theme_dir + chown -R www-data. $theme_dir else echo "bl-themes directory is not empty, skipping..." fi @@ -15,7 +15,7 @@ fi if [ -z "$(ls -A $plugin_dir)" ]; then echo "bl-plugins directory is empty, initializing..." cp -r /tmp/bludit/bl-plugins/* $plugin_dir - chown -R nginx. $plugin_dir + chown -R www-data. $plugin_dir else echo "bl-plugins directory is not empty, skipping..." fi