diff --git a/Dockerfile b/Dockerfile index b2670c6..6771ca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -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 EXPOSE 80 EXPOSE 443 -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 ["samples/EasyProfiler.Web/EasyProfiler.Web.csproj", "samples/EasyProfiler.Web/"] RUN dotnet restore "samples/EasyProfiler.Web/EasyProfiler.Web.csproj"