diff --git a/src/Vegasco.WebApi/Dockerfile b/src/Vegasco.WebApi/Dockerfile index 5539aae..ab3ca29 100644 --- a/src/Vegasco.WebApi/Dockerfile +++ b/src/Vegasco.WebApi/Dockerfile @@ -1,7 +1,7 @@ # See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. # This stage is used when running from VS in fast mode (Default for Debug configuration) -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 @@ -9,7 +9,7 @@ EXPOSE 8081 # This stage is used to build the service project -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Vegasco.Api/Vegasco.Api.csproj", "Vegasco.Api/"] diff --git a/src/Vegasco.WebApi/Vegasco.WebApi.csproj b/src/Vegasco.WebApi/Vegasco.WebApi.csproj index 277155c..79563de 100644 --- a/src/Vegasco.WebApi/Vegasco.WebApi.csproj +++ b/src/Vegasco.WebApi/Vegasco.WebApi.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable 2855ad97-67f4-455a-81af-69c212566ff2 @@ -9,9 +9,9 @@ - + - +