From cffebcb6eb283727d34d4ff06a00547c3b1b2201 Mon Sep 17 00:00:00 2001 From: alirehmani Date: Mon, 6 May 2024 13:28:29 +0500 Subject: [PATCH] update --- src/Dockerfile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 0e113cd..a2f2b38 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -7,19 +7,19 @@ EXPOSE 443 # Use the official Microsoft .NET SDK image to build the code. FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /buildapp -COPY ["/Managing.Api/Managing.Api.csproj", "Managing.Api/"] -COPY ["/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"] -COPY ["/Managing.Infrastructure.Storage/Managing.Infrastructure.Storage.csproj", "Managing.Infrastructure.Storage/"] -COPY ["/Managing.Application/Managing.Application.csproj", "Managing.Application/"] -COPY ["/Managing.Infrastructure.MongoDb/Managing.Infrastructure.MongoDb.csproj", "Managing.Infrastructure.MongoDb/"] -COPY ["/Managing.Common/Managing.Common.csproj", "Managing.Common/"] -COPY ["/Managing.Core/Managing.Core.csproj", "Managing.Core/"] -COPY ["/Managing.Application.Abstractions/Managing.Application.Abstractions.csproj", "Managing.Application.Abstractions/"] -COPY ["/Managing.Domain/Managing.Domain.csproj", "Managing.Domain/"] -COPY ["/Managing.Application.Workers/Managing.Application.Workers.csproj", "Managing.Application.Workers/"] -COPY ["/Managing.Infrastructure.Messengers/Managing.Infrastructure.Messengers.csproj", "Managing.Infrastructure.Messengers/"] -COPY ["/Managing.Infrastructure.Exchanges/Managing.Infrastructure.Exchanges.csproj", "Managing.Infrastructure.Exchanges/"] -COPY ["/Managing.Infrastructure.Database/Managing.Infrastructure.Databases.csproj", "Managing.Infrastructure.Database/"] +COPY ["/Managing.Api/Managing.Api/Managing.Api.csproj", "Managing.Api/"] +COPY ["/Managing.Api/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"] +COPY ["/Managing.Api/Managing.Infrastructure.Storage/Managing.Infrastructure.Storage.csproj", "Managing.Infrastructure.Storage/"] +COPY ["/Managing.Api/Managing.Application/Managing.Application.csproj", "Managing.Application/"] +COPY ["/Managing.Api/Managing.Infrastructure.MongoDb/Managing.Infrastructure.MongoDb.csproj", "Managing.Infrastructure.MongoDb/"] +COPY ["/Managing.Api/Managing.Common/Managing.Common.csproj", "Managing.Common/"] +COPY ["/Managing.Api/Managing.Core/Managing.Core.csproj", "Managing.Core/"] +COPY ["/Managing.Api/Managing.Application.Abstractions/Managing.Application.Abstractions.csproj", "Managing.Application.Abstractions/"] +COPY ["/Managing.Api/Managing.Domain/Managing.Domain.csproj", "Managing.Domain/"] +COPY ["/Managing.Api/Managing.Application.Workers/Managing.Application.Workers.csproj", "Managing.Application.Workers/"] +COPY ["/Managing.Api/Managing.Infrastructure.Messengers/Managing.Infrastructure.Messengers.csproj", "Managing.Infrastructure.Messengers/"] +COPY ["/Managing.Api/Managing.Infrastructure.Exchanges/Managing.Infrastructure.Exchanges.csproj", "Managing.Infrastructure.Exchanges/"] +COPY ["/Managing.Api/Managing.Infrastructure.Database/Managing.Infrastructure.Databases.csproj", "Managing.Infrastructure.Database/"] # Restore dependencies for all projects RUN dotnet restore "/buildapp/Managing.Api/Managing.Api.csproj"