BPA.KitChen.StoreManagement
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

25 wiersze
1.2 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.KitChen.StoreManagement/BPA.KitChen.StoreManagement.csproj", "BPA.KitChen.StoreManagement/"]
  9. COPY ["BPA.KitChen.StoreManagement.Application/BPA.KitChen.StoreManagement.Application.csproj", "BPA.KitChen.StoreManagement.Application/"]
  10. COPY ["BPA.KitChen.StoreManagement.Core/BPA.KitChen.StoreManagement.Core.csproj", "BPA.KitChen.StoreManagement.Core/"]
  11. COPY ["BPA.KitChen.StoreManagement.SqlSugar/BPA.KitChen.StoreManagement.SqlSugar.csproj", "BPA.KitChen.StoreManagement.SqlSugar/"]
  12. RUN dotnet restore "BPA.KitChen.StoreManagement/BPA.KitChen.StoreManagement.csproj"
  13. COPY . .
  14. WORKDIR "/src/BPA.KitChen.StoreManagement"
  15. RUN dotnet build "BPA.KitChen.StoreManagement.csproj" -c Release -o /app/build
  16. FROM build AS publish
  17. RUN dotnet publish "BPA.KitChen.StoreManagement.csproj" -c Release -o /app/publish /p:UseAppHost=false
  18. FROM base AS final
  19. WORKDIR /app
  20. COPY --from=publish /app/publish .
  21. ENTRYPOINT ["dotnet", "BPA.KitChen.StoreManagement.dll"]