Update .NET Docker images for net5.0

[#72]
This commit is contained in:
Chris Cheetham 2021-03-03 08:57:13 -05:00
Родитель 4cb5bd912b
Коммит db3aac8592
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
FROM mcr.microsoft.com/dotnet/core/aspnet:5.0 AS base
WORKDIR /app
EXPOSE 80
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
FROM mcr.microsoft.com/dotnet/core/sdk:5.0 AS build
WORKDIR /src
COPY ["{{Namespace}}.csproj", "."]
RUN dotnet restore "{{Namespace}}.csproj"