From 164060a39a9ab3926f71d031d1fbc31eb33c3974 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Fri, 22 Nov 2019 16:31:19 -0500 Subject: [PATCH] mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine --- parrot/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parrot/Dockerfile b/parrot/Dockerfile index a5ec576..edc5e37 100644 --- a/parrot/Dockerfile +++ b/parrot/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build-env +FROM mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ COPY . ./ RUN dotnet publish -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 +FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine WORKDIR /app COPY --from=build-env /app/out . ENTRYPOINT ["dotnet", "parrot.dll"]