diff --git a/VigilCareClinicalAPI/Dockerfile b/VigilCareClinicalAPI/Dockerfile index 35e1d44..a852c50 100644 --- a/VigilCareClinicalAPI/Dockerfile +++ b/VigilCareClinicalAPI/Dockerfile @@ -2,14 +2,15 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src # Restore layer — copy only project files so NuGet restore is cached -# independently of source changes. ClinicalContracts must be present -# because VigilCareClinicalAPI.csproj ProjectReferences it. +# independently of source changes. ProjectReferences must be present. COPY VigilCareClinical.sln ./ COPY VigilCare.ClinicalContracts/VigilCare.ClinicalContracts.csproj VigilCare.ClinicalContracts/ +COPY VigilCare.Simulation.Core/VigilCare.Simulation.Core.csproj VigilCare.Simulation.Core/ COPY VigilCareClinicalAPI/VigilCareClinicalAPI.csproj VigilCareClinicalAPI/ RUN dotnet restore VigilCareClinicalAPI/VigilCareClinicalAPI.csproj COPY VigilCare.ClinicalContracts/ VigilCare.ClinicalContracts/ +COPY VigilCare.Simulation.Core/ VigilCare.Simulation.Core/ COPY VigilCareClinicalAPI/ VigilCareClinicalAPI/ RUN dotnet publish VigilCareClinicalAPI/VigilCareClinicalAPI.csproj \ -c Release -o /app/publish --no-restore