代码拉取完成,页面将自动刷新
同步操作将从 一个好人/FapCore3.0 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim AS base
WORKDIR /app
#õSystem.DrawingImage
#RUN apt-get update -y && apt-get install -y libgdiplus && apt-get clean && ln -s /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
WORKDIR /src
COPY ["product/hcm/Fap.Hcm.Web/Fap.Hcm.Web.csproj", "product/hcm/Fap.Hcm.Web/"]
COPY ["product/hcm/Fap.Hcm.Service/Fap.Hcm.Service.csproj", "product/hcm/Fap.Hcm.Service/"]
COPY ["src/Fap.AspNetCore/Fap.AspNetCore.csproj", "src/Fap.AspNetCore/"]
COPY ["src/Fap.Core/Fap.Core.csproj", "src/Fap.Core/"]
COPY ["src/Fap.ExcelReport/Fap.ExcelReport.csproj", "src/Fap.ExcelReport/"]
COPY ["src/Fap.Workflow/Fap.Workflow.csproj", "src/Fap.Workflow/"]
COPY ["thirdparty/SQLGeneration/SQLGeneration.csproj", "thirdparty/SQLGeneration/"]
COPY ["thirdparty/UEditorNetCore/UEditorNetCore.csproj", "thirdparty/UEditorNetCore/"]
RUN dotnet restore "product/hcm/Fap.Hcm.Web/Fap.Hcm.Web.csproj"
COPY . .
WORKDIR "/src/product/hcm/Fap.Hcm.Web"
RUN dotnet build "Fap.Hcm.Web.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "Fap.Hcm.Web.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Fap.Hcm.Web.dll"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。