Quellcode durchsuchen

初始化脚本

master
bpa vor 9 Monaten
Ursprung
Commit
de069946e2
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      Dockerfile

+ 2
- 1
Dockerfile Datei anzeigen

@@ -7,12 +7,13 @@ EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["NuGet.config", "."]
COPY ["BPA.SAAS.KitChenManage.Web.Entry/BPA.SAAS.KitChenManage.Web.Entry.csproj", "BPA.SAAS.KitChenManage.Web.Entry/"]
COPY ["BPA.SAAS.KitChenManage.Web.Core/BPA.SAAS.KitChenManage.Web.Core.csproj", "BPA.SAAS.KitChenManage.Web.Core/"]
COPY ["BPA.SAAS.KitChenManage.Application/BPA.SAAS.KitChenManage.Application.csproj", "BPA.SAAS.KitChenManage.Application/"]
COPY ["BPA.SAAS.KitChenManage.Core/BPA.SAAS.KitChenManage.Core.csproj", "BPA.SAAS.KitChenManage.Core/"]
COPY ["BPA.SAAS.KitChenManage.Comm/BPA.SAAS.KitChenManage.Comm.csproj", "BPA.SAAS.KitChenManage.Comm/"]
RUN dotnet restore "BPA.SAAS.KitChenManage.Web.Entry/BPA.SAAS.KitChenManage.Web.Entry.csproj"
RUN dotnet restore "BPA.SAAS.KitChenManage.Web.Entry/BPA.SAAS.KitChenManage.Web.Entry.csproj" --configfile "NuGet.config"
COPY . .
WORKDIR "/src/BPA.SAAS.KitChenManage.Web.Entry"
RUN dotnet build "BPA.SAAS.KitChenManage.Web.Entry.csproj" -c Release -o /app/build


Laden…
Abbrechen
Speichern