We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e873c commit f7d13c4Copy full SHA for f7d13c4
Dockerfile
@@ -1,9 +1,9 @@
1
-FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
2
WORKDIR /app
3
EXPOSE 80
4
EXPOSE 443
5
6
-FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
7
WORKDIR /source
8
9
# copy csproj and restore as distinct layers
@@ -16,7 +16,7 @@ RUN dotnet publish -o /app
16
17
18
# final stage/image
19
-FROM mcr.microsoft.com/dotnet/aspnet:7.0
+FROM mcr.microsoft.com/dotnet/aspnet:8.0
20
21
COPY --from=build /app .
22
ENTRYPOINT ["./server"]
0 commit comments