From ed11575200bbd2670609c072404c2d1a29cda20c Mon Sep 17 00:00:00 2001 From: Alexis Bruneteau Date: Mon, 2 Jun 2025 15:53:40 +0200 Subject: [PATCH] fixed database right --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a289662..807e30a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,12 +53,9 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg && \ # Copy files from build stage COPY --from=build /app /var/www -# Fix permissions -RUN adduser -D -g '' www && \ - chown -R www:www /var/www && \ +RUN chown -R www-data:www-data storage bootstrap/cache database \ chmod -R 755 /var/www/storage /var/www/bootstrap/cache -RUN chown -R www-data:www-data storage bootstrap/cache database # Copy custom nginx and supervisord config COPY deploy/nginx.conf /etc/nginx/nginx.conf