Fully update to .NET 7

pull/178/head
Daniel Roth 2022-11-06 12:46:03 -08:00 committed by Chet Husk
parent c042a4782e
commit f8878fb5d3
2 changed files with 3 additions and 3 deletions

View File

@ -3,10 +3,10 @@ version: '3.4'
services:
podcast.api:
image: ${DOCKER_REGISTRY-}podcastapi
image: ${DOCKER_REGISTRY-}podcastminapi
build:
context: .
dockerfile: src/Services/Podcasts/Podcast.API/Dockerfile
dockerfile: src/Services/Podcasts/Podcast.MinimalAPI/Dockerfile
depends_on:
- podcast.db
- storage

View File

@ -30,7 +30,7 @@ builder.Services.AddTransient<JitterHandler>();
builder.Services.AddHttpClient<ShowClient>().AddHttpMessageHandler<JitterHandler>();
// Authentication and authorization-related services
builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration);
// builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration);
builder.Services.AddAuthorizationBuilder().AddPolicy("modify_feeds", policy => policy.RequireScope("API.Access"));
// OpenAPI and versioning-related services