Skip to content

Commit

Permalink
Update Dockerfile to .NET 8 base images
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyash86 authored Jan 17, 2024
1 parent 66e8624 commit 7ac7fc7
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 @@
# https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR ./sources

# copy everything else and build app
Expand All @@ -8,7 +8,7 @@ WORKDIR ./sources/WebGoat.NET
RUN dotnet publish -c release -o /app

# final stage/image
FROM mcr.microsoft.com/dotnet/aspnet:7.0
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
COPY --from=build /app ./

Expand Down

0 comments on commit 7ac7fc7

Please sign in to comment.