-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.tests
More file actions
20 lines (15 loc) · 942 Bytes
/
Dockerfile.tests
File metadata and controls
20 lines (15 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY ["LibrarySystem.sln", "."]
COPY ["LibrarySystem.Api/LibrarySystem.Api.csproj", "LibrarySystem.Api/"]
COPY ["LibrarySystem.Grpc/LibrarySystem.Grpc.csproj", "LibrarySystem.Grpc/"]
COPY ["LibrarySystem.Application/LibrarySystem.Application.csproj", "LibrarySystem.Application/"]
COPY ["LibrarySystem.Domain/LibrarySystem.Domain.csproj", "LibrarySystem.Domain/"]
COPY ["LibrarySystem.Persistence/LibrarySystem.Persistence.csproj", "LibrarySystem.Persistence/"]
COPY ["LibrarySystem.Contracts/LibrarySystem.Contracts.csproj", "LibrarySystem.Contracts/"]
COPY ["LibrarySystem.UnitTests/LibrarySystem.UnitTests.csproj", "LibrarySystem.UnitTests/"]
COPY ["LibrarySystem.IntegrationTests/LibrarySystem.IntegrationTests.csproj", "LibrarySystem.IntegrationTests/"]
COPY ["WarmupTasks/WarmupTasks.csproj", "WarmupTasks/"]
RUN dotnet restore
COPY . .
ENTRYPOINT ["dotnet", "test"]