diff --git a/Dockerfile b/Dockerfile index 652dade..d59252d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,13 @@ WORKDIR /var/www COPY --chown=www-data:www-data . /var/www -RUN composer install \ +# install extensions +RUN set -ex; \ + install-php-extensions \ + redis + +RUN set -ex; \ + composer install \ --optimize-autoloader \ --no-interaction \ --no-plugins \ @@ -22,11 +28,13 @@ COPY \ vite.config.js \ ./ -RUN npm ci --no-audit --ignore-scripts +RUN set -ex; \ + npm ci --no-audit --ignore-scripts COPY --from=vendor /var/www /build -RUN npm run build +RUN set -ex; \ + npm run build FROM vendor diff --git a/config/mail.php b/config/mail.php index 15f0cca..4bac30b 100644 --- a/config/mail.php +++ b/config/mail.php @@ -112,7 +112,7 @@ 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), - 'name' => env('MAIL_FROM_NAME', 'Example'), + 'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Rezultate Vot')), ], ];