后厨api
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

26 satır
1.3 KiB

  1. #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
  2. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
  3. WORKDIR /app
  4. EXPOSE 80
  5. EXPOSE 443
  6. FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
  7. WORKDIR /src
  8. COPY ["BPA.SAAS.KitChenManage.Web.Entry/BPA.SAAS.KitChenManage.Web.Entry.csproj", "BPA.SAAS.KitChenManage.Web.Entry/"]
  9. COPY ["BPA.SAAS.KitChenManage.Web.Core/BPA.SAAS.KitChenManage.Web.Core.csproj", "BPA.SAAS.KitChenManage.Web.Core/"]
  10. COPY ["BPA.SAAS.KitChenManage.Application/BPA.SAAS.KitChenManage.Application.csproj", "BPA.SAAS.KitChenManage.Application/"]
  11. COPY ["BPA.SAAS.KitChenManage.Core/BPA.SAAS.KitChenManage.Core.csproj", "BPA.SAAS.KitChenManage.Core/"]
  12. COPY ["BPA.SAAS.KitChenManage.Comm/BPA.SAAS.KitChenManage.Comm.csproj", "BPA.SAAS.KitChenManage.Comm/"]
  13. RUN dotnet restore "BPA.SAAS.KitChenManage.Web.Entry/BPA.SAAS.KitChenManage.Web.Entry.csproj"
  14. COPY . .
  15. WORKDIR "/src/BPA.SAAS.KitChenManage.Web.Entry"
  16. RUN dotnet build "BPA.SAAS.KitChenManage.Web.Entry.csproj" -c Release -o /app/build
  17. FROM build AS publish
  18. RUN dotnet publish "BPA.SAAS.KitChenManage.Web.Entry.csproj" -c Release -o /app/publish /p:UseAppHost=false
  19. FROM base AS final
  20. WORKDIR /app
  21. COPY --from=publish /app/publish .
  22. ENTRYPOINT ["dotnet", "BPA.SAAS.KitChenManage.Web.Entry.dll"]