Skip to content

Commit 254ad51

Browse files
committed
Updated base image for dotnet
1 parent cd09ee9 commit 254ad51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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:3.1 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build-env
22
WORKDIR /app
33

44
# copy csproj and restore as distinct layers
@@ -10,7 +10,7 @@ COPY . ./
1010
RUN dotnet publish -c Release -o out
1111

1212
# Build runtime image
13-
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS runtime
13+
FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS runtime
1414
WORKDIR /app
1515
COPY --from=build-env /app/out ./
1616
ENTRYPOINT ["dotnet", "ClaimsApi.dll"]

0 commit comments

Comments
 (0)