From e7213f64cbfd63f6cdedb787795a302edea35c5a Mon Sep 17 00:00:00 2001 From: alirehmani Date: Fri, 3 May 2024 22:56:47 +0500 Subject: [PATCH] update --- src/Managing.Api/Dockerfile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Managing.Api/Dockerfile b/src/Managing.Api/Dockerfile index b5527de..7bfaad6 100644 --- a/src/Managing.Api/Dockerfile +++ b/src/Managing.Api/Dockerfile @@ -7,20 +7,20 @@ EXPOSE 443 # Use the official Microsoft .NET SDK image to build the code. FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src -COPY ["./src/Managing.Api/Managing.Api.csproj", "Managing.Api/"] -COPY ["./src/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"] -COPY ["./src/Managing.Infrastructure.Storage/Managing.Infrastructure.Storage.csproj", "Managing.Infrastructure.Storage/"] -COPY ["./src/Managing.Application/Managing.Application.csproj", "Managing.Application/"] -COPY ["./src/Managing.Infrastructure.MongoDb/Managing.Infrastructure.MongoDb.csproj", "Managing.Infrastructure.MongoDb/"] -COPY ["./src/Managing.Common/Managing.Common.csproj", "Managing.Common/"] -COPY ["./src/Managing.Core/Managing.Core.csproj", "Managing.Core/"] -COPY ["./src/Managing.Application.Abstractions/Managing.Application.Abstractions.csproj", "Managing.Application.Abstractions/"] -COPY ["./src/Managing.Domain/Managing.Domain.csproj", "Managing.Domain/"] -COPY ["./src/Managing.Application.Workers/Managing.Application.Workers.csproj", "Managing.Application.Workers/"] -COPY ["./src/Managing.Infrastructure.Messengers/Managing.Infrastructure.Messengers.csproj", "Managing.Infrastructure.Messengers/"] -COPY ["./src/Managing.Infrastructure.Exchanges/Managing.Infrastructure.Exchanges.csproj", "Managing.Infrastructure.Exchanges/"] -COPY ["./src/Managing.Infrastructure.Database/Managing.Infrastructure.Databases.csproj", "Managing.Infrastructure.Database/"] -RUN dotnet restore "./src/Managing.Api/Managing.Api.csproj" +COPY ["/src/Managing.Api/Managing.Api.csproj", "Managing.Api/"] +COPY ["/src/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"] +COPY ["/src/Managing.Infrastructure.Storage/Managing.Infrastructure.Storage.csproj", "Managing.Infrastructure.Storage/"] +COPY ["/src/Managing.Application/Managing.Application.csproj", "Managing.Application/"] +COPY ["/src/Managing.Infrastructure.MongoDb/Managing.Infrastructure.MongoDb.csproj", "Managing.Infrastructure.MongoDb/"] +COPY ["/src/Managing.Common/Managing.Common.csproj", "Managing.Common/"] +COPY ["/src/Managing.Core/Managing.Core.csproj", "Managing.Core/"] +COPY ["/src/Managing.Application.Abstractions/Managing.Application.Abstractions.csproj", "Managing.Application.Abstractions/"] +COPY ["/src/Managing.Domain/Managing.Domain.csproj", "Managing.Domain/"] +COPY ["/src/Managing.Application.Workers/Managing.Application.Workers.csproj", "Managing.Application.Workers/"] +COPY ["/src/Managing.Infrastructure.Messengers/Managing.Infrastructure.Messengers.csproj", "Managing.Infrastructure.Messengers/"] +COPY ["/src/Managing.Infrastructure.Exchanges/Managing.Infrastructure.Exchanges.csproj", "Managing.Infrastructure.Exchanges/"] +COPY ["/src/Managing.Infrastructure.Database/Managing.Infrastructure.Databases.csproj", "Managing.Infrastructure.Database/"] +RUN dotnet restore "/src/Managing.Api/Managing.Api.csproj" # COPY . .