Skip to content

Commit

Permalink
Only run migrations when local
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltrolezi committed Sep 22, 2024
1 parent 2a4e9c1 commit 8d3d287
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/entrypoint.app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ if [ ! -d "vendor" ] || [ -z "$(ls -A vendor)" ]; then
npm install

php artisan key:generate --ansi
php artisan migrate --seed
else
composer install --no-interaction --optimize-autoloader --no-dev
fi

php artisan migrate --seed
fi
fi

case "$RUN_MODE" in
Expand Down

0 comments on commit 8d3d287

Please sign in to comment.