Browse Source

更新 'backend/dockerfile'

shengtang
bpa 1 year ago
parent
commit
e783cbbc77
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      backend/dockerfile

+ 1
- 5
backend/dockerfile View File

@@ -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"


Loading…
Cancel
Save