代码拉取完成,页面将自动刷新
同步操作将从 magicodes/Magicodes.Admin.Core 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#使用腾讯云公共镜像,dockerfile见:https://github.com/xin-lai/aspnetcore-docker
FROM ccr.ccs.tencentyun.com/magicodes/aspnetcore-runtime:2.2 AS base
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
WORKDIR /src
COPY ["src/web/Admin.Web.Host/Magicodes.Admin.Web.Host.csproj", "src/web/Admin.Web.Host/"]
COPY ["src/application/Admin.Application/Magicodes.Admin.Application.csproj", "src/application/Admin.Application/"]
COPY ["src/application/Magicodes.Admin.Application.Core/Magicodes.Admin.Application.Core.csproj", "src/application/Magicodes.Admin.Application.Core/"]
COPY ["src/data/Admin.EntityFrameworkCore/Magicodes.Admin.EntityFrameworkCore.csproj", "src/data/Admin.EntityFrameworkCore/"]
COPY ["src/core/Admin.Core.Custom/Magicodes.Admin.Core.Custom.csproj", "src/core/Admin.Core.Custom/"]
COPY ["src/core/Admin.Core/Magicodes.Admin.Core.csproj", "src/core/Admin.Core/"]
COPY ["src/core/Admin.Localization/Magicodes.Admin.Localization.csproj", "src/core/Admin.Localization/"]
COPY ["src/unity/Admin.Unity/Magicodes.Admin.Unity.csproj", "src/unity/Admin.Unity/"]
COPY ["src/web/Admin.Web.Core/Magicodes.Admin.Web.Core.csproj", "src/web/Admin.Web.Core/"]
COPY ["src/application/Admin.Application.Custom/Magicodes.Admin.Application.Custom.csproj", "src/application/Admin.Application.Custom/"]
RUN dotnet restore "src/web/Admin.Web.Host/Magicodes.Admin.Web.Host.csproj"
COPY . .
WORKDIR "/src/src/web/Admin.Web.Host"
RUN dotnet build "Magicodes.Admin.Web.Host.csproj" -c Release -o /app
FROM build AS publish
RUN dotnet publish "Magicodes.Admin.Web.Host.csproj" -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "Magicodes.Admin.Web.Host.dll"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。