mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-30 18:57:12 +01:00
avoid seed temp fix for twice seeding
This commit is contained in:
@@ -57,12 +57,12 @@ do {
|
|||||||
} while (true);
|
} while (true);
|
||||||
EOPHP
|
EOPHP
|
||||||
|
|
||||||
php artisan optimize --force
|
#php artisan optimize --force
|
||||||
php artisan migrate --force
|
#php artisan migrate --force
|
||||||
|
|
||||||
if [ ! -e "/var/www/app/is-seeded" ]; then
|
if [ ! -e "/var/www/app/is-seeded" ]; then
|
||||||
php artisan db:seed --force
|
#php artisan db:seed --force
|
||||||
touch "/var/www/app/is-seeded"
|
#touch "/var/www/app/is-seeded"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'start'
|
echo 'start'
|
||||||
|
|||||||
Reference in New Issue
Block a user