diff --git a/src/CarbonAware.WebApi/src/.config/dotnet-tools.json b/src/CarbonAware.WebApi/src/.config/dotnet-tools.json index 1a1607fe5..9a07f6919 100644 --- a/src/CarbonAware.WebApi/src/.config/dotnet-tools.json +++ b/src/CarbonAware.WebApi/src/.config/dotnet-tools.json @@ -3,10 +3,10 @@ "isRoot": true, "tools": { "swashbuckle.aspnetcore.cli": { - "version": "6.2.3", + "version": "6.5.0", "commands": [ "swagger" ] } } -} \ No newline at end of file +} diff --git a/src/CarbonAware.WebApi/src/CarbonAware.WebApi.csproj b/src/CarbonAware.WebApi/src/CarbonAware.WebApi.csproj index e597afa4e..18752943e 100644 --- a/src/CarbonAware.WebApi/src/CarbonAware.WebApi.csproj +++ b/src/CarbonAware.WebApi/src/CarbonAware.WebApi.csproj @@ -21,7 +21,7 @@ - + @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/src/CarbonAware.WebApi/src/Dockerfile b/src/CarbonAware.WebApi/src/Dockerfile index 70fa22c62..f01e27777 100644 --- a/src/CarbonAware.WebApi/src/Dockerfile +++ b/src/CarbonAware.WebApi/src/Dockerfile @@ -1,6 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app +ENV DOTNET_ROLL_FORWARD LatestMajor # Copy everything from source COPY . ./ # Use implicit restore to build and publish