Updating dotnet version

This commit is contained in:
2026-01-07 17:32:15 -06:00
parent 07b57dc1f7
commit 581734d740
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
# Copy project file first to take advantage of Docker layer caching
@@ -9,7 +9,7 @@ RUN dotnet restore "Auth.csproj"
COPY . .
RUN dotnet publish "Auth.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS final
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
WORKDIR /app
COPY --from=build /app/publish .