Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #444 from DFE-Digital/dot-net-6-update
Browse files Browse the repository at this point in the history
Dot net 6 update - fix Dockerfile .NET version.
  • Loading branch information
Tim Wilde authored Nov 25, 2022
2 parents 0d9ab0a + 6b994b9 commit 982b588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /build

# Copy csproj and restore as distinct layers
Expand All @@ -15,7 +15,7 @@ RUN dotnet restore
RUN dotnet publish -c Release -o /app

# Stage 2
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS final
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS final
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["dotnet", "Frontend.dll"]

0 comments on commit 982b588

Please sign in to comment.