feat: cache assets
This commit is contained in:
parent
111f14bbe5
commit
8c172f9009
|
|
@ -41,4 +41,4 @@ RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cac
|
||||||
ENV APP_ENV=production
|
ENV APP_ENV=production
|
||||||
ENV APP_RUNTIME=Laravel\FrankenPHP\Runtime
|
ENV APP_RUNTIME=Laravel\FrankenPHP\Runtime
|
||||||
|
|
||||||
CMD ["sh", "-c", "php artisan migrate --force && php artisan storage:link && frankenphp run --config /etc/caddy/Caddyfile"]
|
CMD ["sh", "-c", "php artisan migrate --force && php artisan storage:link && php artisan optimize && php artisan view:cache && php artisan event:cache && frankenphp run --config /etc/caddy/Caddyfile"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue