Skip to content

Commit cd15113

Browse files
authored
Update Dockerfile to .net 7.0 (#179)
1 parent 55e61f8 commit cd15113

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env
22
WORKDIR /src
33

44

@@ -7,10 +7,10 @@ RUN dotnet restore
77

88

99
COPY . ./
10-
RUN dotnet publish -f net5.0 -c Release -o out
10+
RUN dotnet publish -f net7.0 -c Release -o out
1111

1212

13-
FROM mcr.microsoft.com/dotnet/runtime:5.0
13+
FROM mcr.microsoft.com/dotnet/runtime:7.0
1414
WORKDIR /src
1515
COPY --from=build-env /src/out .
16-
ENTRYPOINT ["dotnet", "NugetUtility.dll"]
16+
ENTRYPOINT ["dotnet", "NugetUtility.dll"]

0 commit comments

Comments
 (0)