Skip to content

Commit

Permalink
fix test in docker entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 22, 2024
1 parent 5757aae commit 348d0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd /var/www/mercator
_wait_for_mysql_ready

# initialisation de la base de données si elle n'existe pas
if [ -f "./sql/db.sqlite" ] && [ -s "./sql/db.sqlite" ]
if [ ! -s ./sql/db.sqlite ]
then
php artisan --no-interaction migrate --seed
fi
Expand Down

0 comments on commit 348d0d0

Please sign in to comment.