Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Aug 14, 2024
1 parent 594f48c commit e98f788
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

'from' => [
'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),
'name' => env('MAIL_FROM_NAME', 'Example'),
'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Rezultate Vot')),
],

];

0 comments on commit e98f788

Please sign in to comment.