Create cache directories for laravel

This commit is contained in:
Admin 2026-08-11 06:25:07 +00:00
parent 3c1bb8fa76
commit 678c7eafa1

View file

@ -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