From 2dcededa373d58eb3eb4432db6015705d0b5977a Mon Sep 17 00:00:00 2001 From: William Date: Fri, 1 Jul 2022 16:19:18 +0200 Subject: [PATCH] Correction des permissions. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 61d9724..a5ad5ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,10 @@ RUN apt-get -y autoremove \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Copy source code -COPY . /app +COPY --chown=www-data:www-data . /app # Install php dependencies RUN composer install --quiet --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist + +# Change vendor permissions +RUN chown www-data:www-data vendor