4 Star 31 Fork 10

电脑程序爱好者 / ASP.NET Core 批量后台任务处理

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 672 Bytes
一键复制 编辑 原始数据 按行查看 历史
电脑程序爱好者 提交于 2020-03-12 11:13 . update init script location
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
EXPOSE 80
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src
COPY . .
WORKDIR "/src/Web"
RUN dotnet build "FI.BatchJob.Web.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "FI.BatchJob.Web.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN cp /usr/share/zoneinfo/Asia/Shanghai /usr/share/zoneinfo/Asia/Beijing
RUN unlink /etc/localtime \
&& echo 'Asia/Shanghai' > /etc/timezone \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime;
ENTRYPOINT ["dotnet", "FI.BatchJob.Web.dll"]
C#
1
https://gitee.com/tm2002/FI.BatchJob.git
git@gitee.com:tm2002/FI.BatchJob.git
tm2002
FI.BatchJob
ASP.NET Core 批量后台任务处理
master

搜索帮助