Browse Source

更新 'backend/dockerfile'

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

+ 1
- 1
backend/dockerfile View File

@@ -12,7 +12,7 @@ COPY ["backend/BPA.MES.Base.Web.Entry/BPA.MES.Base.Web.Entry.csproj", "BPA.MES.B
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/"]
RUN dotnet restore "BPA.MES.Base.Web.Entry/BPA.MES.Base.Web.Entry.csproj" --configfile "NuGet.config"
RUN dotnet restore "backend/BPA.MES.Base.Web.Entry/BPA.MES.Base.Web.Entry.csproj" --configfile "NuGet.config"
COPY . .
WORKDIR "/src/BPA.MES.Base.Web.Entry"
RUN dotnet build "BPA.MES.Base.Web.Entry.csproj" -c Release -o /app/build


Loading…
Cancel
Save