后厨api
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 11 měsíci
1234567891011121314151617181920212223242526
  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"]