From 6cb5bd06eb00ff6fdd1887f57b1bc3f8db400dad Mon Sep 17 00:00:00 2001 From: Mikhail M <47109585+MikhailMasny@users.noreply.github.com> Date: Tue, 18 May 2021 19:22:34 +0300 Subject: [PATCH] feat: migrate from ASP.NET Core 3.1 to 5.0 --- src/Masny.Bot/Dockerfile | 4 ++-- src/Masny.Bot/Masny.Bot.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Masny.Bot/Dockerfile b/src/Masny.Bot/Dockerfile index f51b551..a028841 100644 --- a/src/Masny.Bot/Dockerfile +++ b/src/Masny.Bot/Dockerfile @@ -1,7 +1,7 @@ -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base WORKDIR /app -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build WORKDIR /src COPY ["Masny.Bot.csproj", "Masny.Bot/"] RUN dotnet restore "Masny.Bot/Masny.Bot.csproj" diff --git a/src/Masny.Bot/Masny.Bot.csproj b/src/Masny.Bot/Masny.Bot.csproj index d280796..ce88076 100644 --- a/src/Masny.Bot/Masny.Bot.csproj +++ b/src/Masny.Bot/Masny.Bot.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net5.0 fb926161-5b19-4762-aed6-a6d39ffa636e Linux ..\.. @@ -9,7 +9,7 @@ - +