diff --git a/Dockerfile b/Dockerfile index a8ecf35684..9988b36fa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,7 +110,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer # Get dependencies USER docker -RUN composer install --no-dev --working-dir=/var/www/html +RUN COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --working-dir=/var/www/html && rm -rf /var/www/html/vendor/*/*/.git USER root ############### APPLICATION INSTALL/INIT #################