Score
0
Watch 22 Star 84 Fork 34

ZKEASOFT / ZKEACMSC#GPL-3.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
可视化设计在线编辑内容管理系统 - ZKEACMS for .Net Core (.Net Core CMS) spread retract

http://www.zkea.net/zkeacms/zkeacmscore

  • C# 31.3%
  • JavaScript 22.9%
  • CSS 20.1%
  • TSQL 12.5%
  • HTML 11.7%
  • Other 1.5%
Clone or download
Dockerfile 900 Bytes
Copy Edit Web IDE Raw Blame History
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS builder
WORKDIR /build
# Copy all files
COPY . ./
RUN dotnet restore
ENV PATH="${PATH}:/root/.dotnet/tools"
RUN dotnet tool install --global ZKEACMS.Publisher
RUN dotnet tool install --global sqlite-exec
# Release ZKEACMS.WebHost
WORKDIR /build/src/ZKEACMS.WebHost
RUN publish-zkeacms
# Create database
RUN mkdir /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput/App_Data
RUN sqlite-exec -d /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput/App_Data/Database.sqlite -f /build/DataBase/SQLite/ZKEACMS.sqlite.sql
RUN cp -f /build/DataBase/SQLite/appsettings.json /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput/appsettings.json
# Build runtime image
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
WORKDIR /zkeacms
COPY --from=builder /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput .
EXPOSE 80
ENTRYPOINT ["dotnet", "ZKEACMS.WebHost.dll"]

Comment ( 0 )

Sign in for post a comment

C#
1
https://gitee.com/seriawei/ZKEACMS.Core.git
git@gitee.com:seriawei/ZKEACMS.Core.git
seriawei
ZKEACMS.Core
ZKEACMS
master

Help Search