Фиксы docker конфигов

This commit is contained in:
brusnitsyn
2025-12-21 19:47:39 +09:00
parent 255a117c20
commit eed6607296
2 changed files with 9 additions and 6 deletions

View File

@@ -152,12 +152,10 @@ RUN mkdir -p /var/log/supervisor && \
chown -R www:www /var/www /var/log/supervisor && \
chmod -R 775 /var/www/storage /var/www/bootstrap/cache
# Оптимизация Laravel
RUN php artisan config:cache && \
php artisan route:cache && \
php artisan view:cache && \
php artisan storage:link
# Создание ссылки на Storage
RUN php artisan storage:link
USER www
EXPOSE 9000
CMD ["php-fpm"]