Skip to content

Commit

Permalink
mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Benoit authored Nov 22, 2019
1 parent 6ab4c74 commit 164060a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parrot/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"]

0 comments on commit 164060a

Please sign in to comment.