Score
0
Watch 170 Star 536 Fork 210

magicodes / Magicodes.Admin.CoreC#

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Magicodes.Admin,是心莱科技团队打造的一套高效率、易扩展、基础设施强大、代码生成完备、理念和技术先进的敏捷开发框架,同时也是一套分布式、跨平台(linux、Docker容器支持,已提供Docker教程、腾讯云容器托管教程、Azure DevOps教程)、多终端(包括Android、IOS、H5、小程序、微信公众号)、前后端分离、持续集成(CI)、自动部署、监控支持的统一开发框架和开发解决方案。框架基于.NET Core 2.2、Angu... spread retract

http://xin-lai.com

  • C# 97.2%
  • HTML 1.1%
  • PowerShell 0.8%
  • JavaScript 0.7%
  • Dockerfile 0.2%
Clone or download
Dockerfile 1.67 KB
Copy Edit Web IDE Raw Blame History
李文强 authored 2019-11-01 15:08 . 修改dockerfile
#使用腾讯云公共镜像,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"]
C#
1
https://gitee.com/magicodes/Magicodes.Admin.Core.git
git@gitee.com:magicodes/Magicodes.Admin.Core.git
magicodes
Magicodes.Admin.Core
Magicodes.Admin.Core
develop

Help Search