diff --git a/Dockerfile b/Dockerfile index 1a3dbe5..921bc6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src -COPY ["AutomatedTestingApp/AutomatedTestingApp/AutomatedTestingApp.csproj", "AutomatedTestingApp/"] +COPY ["src/AutomatedTestingApp/AutomatedTestingApp.csproj", "AutomatedTestingApp/"] RUN dotnet restore "AutomatedTestingApp/AutomatedTestingApp.csproj" COPY . . WORKDIR "/src/AutomatedTestingApp"