fix: create var/ before chmod in Dockerfile
This commit is contained in:
parent
c972623b6f
commit
8e0c532d69
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ RUN composer install --no-dev --optimize-autoloader --no-scripts --no-interactio
|
|||
COPY app/ .
|
||||
|
||||
# ── Droits ──────────────────────────────────────────────────
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
RUN mkdir -p /var/www/html/var \
|
||||
&& chown -R www-data:www-data /var/www/html \
|
||||
&& chmod -R 755 /var/www/html/var
|
||||
|
||||
# ── Config Apache ────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Reference in a new issue