mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Remove redundant package discovery command from production setup
This commit is contained in:
1
debian/scripts/init.sh
vendored
1
debian/scripts/init.sh
vendored
@@ -41,7 +41,6 @@ if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
|||||||
|
|
||||||
# Clear and cache config in production
|
# Clear and cache config in production
|
||||||
if [ "$APP_ENV" = "production" ]; then
|
if [ "$APP_ENV" = "production" ]; then
|
||||||
runuser -u www-data -- php artisan package:discover
|
|
||||||
runuser -u www-data -- php artisan migrate --force
|
runuser -u www-data -- php artisan migrate --force
|
||||||
runuser -u www-data -- php artisan cache:clear # Clear after the migration
|
runuser -u www-data -- php artisan cache:clear # Clear after the migration
|
||||||
runuser -u www-data -- php artisan ninja:design-update
|
runuser -u www-data -- php artisan ninja:design-update
|
||||||
|
|||||||
Reference in New Issue
Block a user