diff --git a/src/TemplateFastEndpoints.API/Dockerfile b/src/TemplateFastEndpoints.API/Dockerfile index 20bfe5f..d182614 100644 --- a/src/TemplateFastEndpoints.API/Dockerfile +++ b/src/TemplateFastEndpoints.API/Dockerfile @@ -1,9 +1,9 @@ -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY ["src/TemplateFastEndpoints.API/TemplateFastEndpoints.API.csproj", "TemplateFastEndpoints.API/"] RUN dotnet restore "src/TemplateFastEndpoints.API/TemplateFastEndpoints.API.csproj"