chore: upgrade to .net8 image

This commit is contained in:
Timothy Schenk 2023-11-06 10:49:36 +01:00
parent 821e3accb8
commit 087bb41246

View file

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
WORKDIR /app WORKDIR /app
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src WORKDIR /src
COPY ["Server/Server.csproj", "Server/"] COPY ["Server/Server.csproj", "Server/"]
RUN dotnet restore "Server/Server.csproj" RUN dotnet restore "Server/Server.csproj"