1 Star 0 Fork 0

寒月笑天 / MicroService.ApiGateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dockerforAdmin 544 Bytes
一键复制 编辑 原始数据 按行查看 历史
cKey 提交于 2019-12-05 17:21 . 添加缺失的文件
FROM mcr.microsoft.com/dotnet/core/sdk:2.2 as build-env
MAINTAINER Colin
WORKDIR /web
COPY MicroService/. /web
WORKDIR /web/ApiGateway/src/MicroService.ApiGatewayAdmin.Web
RUN dotnet restore
RUN dotnet publish -c Release -o ../../publish
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 AS runtime
WORKDIR /app
copy --from=build-env /web/ApiGateway/publish /app
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
EXPOSE 80/tcp
ENTRYPOINT ["dotnet", "MicroService.ApiGatewayAdmin.Web.dll"]
1
https://gitee.com/inlazy/MicroService.ApiGateway.git
git@gitee.com:inlazy/MicroService.ApiGateway.git
inlazy
MicroService.ApiGateway
MicroService.ApiGateway
master

搜索帮助