diff --git a/docker-compose.yml b/docker-compose.yml index 40ea724..e8349fe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,7 @@ services: - DATABASE=server=db;port=3306;user=bot;password=supersecurepassword;database=bot depends_on: - db + command: sh -c "dotnet ef database update --no-build && dotnet run --no-build --project Bot" phpmyadmin: image: phpmyadmin/phpmyadmin:latest