dotnet build
dotnet restore
dotnet run
docker-compose up --build
Set your own database by editing the connectionstring in appsettings.json
.
Then run:
docker run -p 5002:5002 --name location-service-app location-service
If you get the following error:
Network ipost-network
declared as external, but could not be found. Run the following:
docker network create ipost-network
dotnet ef migrations add migrationName
dotnet ef database update
dotnet ef database update targetMigration