diff --git a/Dockerfile b/Dockerfile index 8c50073..33ff0b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,12 +53,14 @@ WORKDIR /src # DorkNet.Models project ref, so its csproj needs to be present too. COPY DorkNet.Server/DorkNet.Server.csproj DorkNet.Server/ COPY DorkNet.Models/DorkNet.Models.csproj DorkNet.Models/ +COPY DorkNet.Contracts/DorkNet.Contracts.csproj DorkNet.Contracts/ RUN dotnet restore DorkNet.Server/DorkNet.Server.csproj # Now copy the rest of the .NET source, then drop the prebuilt admin # SPA into wwwroot/admin so the publish step ships it as static content. COPY DorkNet.Server/ DorkNet.Server/ COPY DorkNet.Models/ DorkNet.Models/ +COPY DorkNet.Contracts/ DorkNet.Contracts/ COPY --from=admin-ui /wwwroot/admin/ DorkNet.Server/wwwroot/admin/ COPY --from=site /wwwroot/site/ DorkNet.Server/wwwroot/site/ diff --git a/DorkNet.Server/DorkNet.Server.csproj b/DorkNet.Server/DorkNet.Server.csproj index f1b8c07..f37f54a 100644 --- a/DorkNet.Server/DorkNet.Server.csproj +++ b/DorkNet.Server/DorkNet.Server.csproj @@ -73,6 +73,7 @@ +