1 Star 0 Fork 23

0你好0/OrchardCore

forked from OrchardCore/OrchardCore 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 424 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sébastien Ros 提交于 2021-11-08 16:45 . Update docker files for .NET 6.0
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
LABEL stage=build-env
WORKDIR /app
# Copy and build
COPY ./src /app
RUN dotnet publish /app/OrchardCore.Cms.Web -c Release -o ./build/release --framework net6.0
# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:6.0
EXPOSE 80
ENV ASPNETCORE_URLS http://+:80
WORKDIR /app
COPY --from=build-env /app/build/release .
ENTRYPOINT ["dotnet", "OrchardCore.Cms.Web.dll"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/520LOVE/OrchardCore.git
git@gitee.com:520LOVE/OrchardCore.git
520LOVE
OrchardCore
OrchardCore
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385