From 45231e3459e770773185db3c809658e8b57a0b4f Mon Sep 17 00:00:00 2001 From: Glowstudent <55334764+Glowstudent777@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:59:56 -0500 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) 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