From 678c7eafa1b9a3644974a7353e2ac2f99c778ba3 Mon Sep 17 00:00:00 2001 From: Admin Date: Tue, 11 Aug 2026 06:25:07 +0000 Subject: [PATCH] Create cache directories for laravel --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index fbae390..67bde8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer WORKDIR /app COPY . . +# Create cache dirs +RUN mkdir -p storage/framework/sessions storage/framework/views storage/framework/cache bootstrap/cache +RUN chmod -R 777 storage bootstrap/cache + # Install dependencies RUN composer install --no-interaction --prefer-dist --optimize-autoloader --no-security-blocking