Skip to content

Commit fd616c0

Browse files
committed
API Gateway/Docker: .NET 8
1 parent e09b594 commit fd616c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HwProj.APIGateway/HwProj.APIGateway.API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /src
33

44
COPY ["Directory.Build.props", "Directory.Build.props"]
@@ -21,7 +21,7 @@ COPY ["HwProj.StudentInfo/StudentsInfo/", "HwProj.StudentInfo/StudentsInfo/"]
2121
WORKDIR "/src/HwProj.APIGateway/HwProj.APIGateway.API"
2222
RUN dotnet publish "HwProj.APIGateway.API.csproj" -c Release -o /app/publish
2323

24-
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS final
24+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
2525
WORKDIR /app
2626

2727
COPY --from=build /app/publish .

0 commit comments

Comments
 (0)