|
|
@@ -7,12 +7,13 @@ EXPOSE 443 |
|
|
|
|
|
|
|
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build |
|
|
|
WORKDIR /src |
|
|
|
COPY ["NuGet.config", "."] |
|
|
|
COPY ["BPA.SAAS.Manage.Web.Entry/BPA.SAAS.Manage.Web.Entry.csproj", "BPA.SAAS.Manage.Web.Entry/"] |
|
|
|
COPY ["BPA.SAAS.Manage.Web.Core/BPA.SAAS.Manage.Web.Core.csproj", "BPA.SAAS.Manage.Web.Core/"] |
|
|
|
COPY ["BPA.SAAS.Manage.Application/BPA.SAAS.Manage.Application.csproj", "BPA.SAAS.Manage.Application/"] |
|
|
|
COPY ["BPA.SAAS.Manage.Comm/BPA.SAAS.Manage.Comm.csproj", "BPA.SAAS.Manage.Comm/"] |
|
|
|
COPY ["BPA.SAAS.Manage.Core/BPA.SAAS.Manage.Core.csproj", "BPA.SAAS.Manage.Core/"] |
|
|
|
RUN dotnet restore "BPA.SAAS.Manage.Web.Entry/BPA.SAAS.Manage.Web.Entry.csproj" |
|
|
|
RUN dotnet restore "BPA.SAAS.Manage.Web.Entry/BPA.SAAS.Manage.Web.Entry.csproj" --configfile "NuGet.config" |
|
|
|
COPY . . |
|
|
|
WORKDIR "/src/BPA.SAAS.Manage.Web.Entry" |
|
|
|
RUN dotnet build "BPA.SAAS.Manage.Web.Entry.csproj" -c Release -o /app/build |
|
|
|