diff --git a/API.csproj b/API.csproj index 9b855ed..ceb10aa 100644 --- a/API.csproj +++ b/API.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Dockerfile b/Dockerfile index b9d740f..4a9b223 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS base WORKDIR /app EXPOSE 80 -FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["API.csproj", "."]