fix : resolve var/cache permission issue in Docker
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

Create var/cache and var/log directories in Dockerfile and ensure
correct ownership in Makefile before running composer install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-20 19:56:30 +02:00
parent 93f47e9111
commit 140dca9061
2 changed files with 3 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ RUN mkdir -p /var/www/.composer/cache/vcs \
ENV COMPOSER_HOME=/var/www/.composer
# Création de la structure du projet
RUN mkdir /var/www/html/LOG
RUN mkdir -p /var/www/html/LOG /var/www/html/var/cache /var/www/html/var/log
###> User ###
ARG CURRENT_UID