|
|
@@ -7,11 +7,7 @@ EXPOSE 443 |
|
|
|
|
|
|
|
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build |
|
|
|
WORKDIR /src |
|
|
|
COPY ["NuGet.config", "."] |
|
|
|
COPY ["backend/BPA.MES.Base.Web.Entry/BPA.MES.Base.Web.Entry.csproj", "BPA.MES.Base.Web.Entry/"] |
|
|
|
COPY ["backend/BPA.MES.Base.Web.Core/BPA.MES.Base.Web.Core.csproj", "BPA.MES.Base.Web.Core/"] |
|
|
|
COPY ["backend/BPA.MES.Base.Application/BPA.MES.Base.Application.csproj", "BPA.MES.Base.Application/"] |
|
|
|
COPY ["backend/BPA.MES.Base.Core/BPA.MES.Base.Core.csproj", "BPA.MES.Base.Core/"] |
|
|
|
COPY ["backend/*", "."] |
|
|
|
RUN dotnet restore "BPA.MES.Base.Web.Entry/BPA.MES.Base.Web.Entry.csproj" --configfile "NuGet.config" |
|
|
|
COPY . . |
|
|
|
WORKDIR "/src/BPA.MES.Base.Web.Entry" |
|
|
|