We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1ee206 + a152458 commit 6a49708Copy full SHA for 6a49708
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2
WORKDIR /app
3
4
# Copy csproj and restore as distinct layers
@@ -11,7 +11,7 @@ COPY ./appsettings.docker.json ./appsettings.json
11
RUN dotnet publish -c Release -o out
12
13
# Build runtime image
14
-FROM mcr.microsoft.com/dotnet/aspnet:6.0
+FROM mcr.microsoft.com/dotnet/aspnet:8.0
15
16
COPY --from=build-env /app/out .
17
-ENTRYPOINT ["dotnet", "GoNorth.dll"]
+ENTRYPOINT ["dotnet", "GoNorth.dll"]
0 commit comments