1 Star 0 Fork 69

nnxg/GB28181.Solution

forked from GB28181/GB28181.Solution 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.dev 640 Bytes
一键复制 编辑 原始数据 按行查看 历史
Edward 提交于 2020-02-23 22:12 . update form design
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
EXPOSE 5060
EXPOSE 8080
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src
COPY ["GB28181.Server/GB28181.Server.csproj", "GB28181.Server/"]
RUN dotnet restore "GB28181.Server/GB28181.Server.csproj"
COPY . .
WORKDIR "/src/GB28181.Server"
RUN dotnet build "GB28181.Server.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "GB28181.Server.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "GB28181.Server.dll"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/nnxg/GB28181.Solution.git
git@gitee.com:nnxg/GB28181.Solution.git
nnxg
GB28181.Solution
GB28181.Solution
develop

搜索帮助