Skip to content

Commit 6bc8da8

Browse files
authored
Upgrade .NET SDK and ASP.NET runtime versions
1 parent 3c2a89e commit 6bc8da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine as build
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine as build
22
WORKDIR /app
33
COPY . .
44
RUN dotnet restore
55
RUN dotnet publish BervProject.WebApi.Boilerplate -c Release -o /app/publish
66

7-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine as runtime
7+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine as runtime
88
COPY --from=build /app/publish /app/publish
99
WORKDIR /app/publish
1010
EXPOSE 80

0 commit comments

Comments
 (0)