mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine

This commit is contained in:
Mathieu Benoit 2019-11-22 16:31:19 -05:00 коммит произвёл GitHub
Родитель 6ab4c741b0
Коммит 164060a39a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 WORKDIR /app
# Copy csproj and restore as distinct layers # Copy csproj and restore as distinct layers
@ -10,7 +10,7 @@ COPY . ./
RUN dotnet publish -c Release -o out RUN dotnet publish -c Release -o out
# Build runtime image # Build runtime image
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine
WORKDIR /app WORKDIR /app
COPY --from=build-env /app/out . COPY --from=build-env /app/out .
ENTRYPOINT ["dotnet", "parrot.dll"] ENTRYPOINT ["dotnet", "parrot.dll"]