From e70cf5cdf7b31d5e3b650b5df45667be16b6910f Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Mon, 24 Nov 2025 09:06:30 +0100 Subject: [PATCH] Fixes --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7684ff1..2b70ec1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -103,10 +103,9 @@ RUN npm run build USER root # Fix Permissions -RUN chown -R www-data:www-data /var/www/html && \ - find /var/www/html -type d ! -perm 775 -print0 | xargs -0 -r -n 100 -P 10000 chmod 775 && \ - find /var/www/html -type f -not -name "*.sh" ! -perm 664 -print0 | xargs -0 -r -n 100 -P 10000 chmod 664 - +RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache && \ + chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache + #Start Container RUN chmod +x /var/www/html/start.sh CMD ["/var/www/html/start.sh"]