diff --git a/build/start-container.sh b/build/start-container.sh index 03257ff..c2a3e74 100644 --- a/build/start-container.sh +++ b/build/start-container.sh @@ -31,6 +31,11 @@ if [[ "$BOOT_NPM_INSTALL" = true ]]; then npm install --cache /tmp/npm fi +if [[ "$BOOT_MIGRATE" = true ]]; then + echo "artisan migrate" + php /var/www/html/artisan migrate +fi + if [[ "$BOOT_NPM_DEV" = true ]]; then echo "Staring npm dev" npm run dev --prefix /var/www/html &