FROM mcr.microsoft.com/dotnet/sdk:6.0 WORKDIR /test COPY . . RUN dotnet restore RUN dotnet build RUN dotnet test