1 Star 0 Fork 835

wood/iotgateway

forked from Sam/iotgateway 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
alpine.Dockerfile 572 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sam 提交于 2021-12-12 14:55 . 初步可用版本
FROM mcr.microsoft.com/dotnet/core/sdk:5.0-alpine AS build
WORKDIR /app
COPY . .
RUN dotnet publish "./IoTGateway/IoTGateway.csproj" -c Release -o /app/out
FROM mcr.microsoft.com/dotnet/core/aspnet:5.0-alpine AS runtime
WORKDIR /app
COPY --from=build /app/out ./
# install libgdiplus for System.Drawing
RUN apk add libgdiplus --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted && \
apk add terminus-font
ENV ASPNETCORE_URLS http://+:80
ENV ASPNETCORE_ENVIRONMENT Production
ENTRYPOINT ["dotnet", "IoTGateway.dll"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/woodlee/iotgateway.git
git@gitee.com:woodlee/iotgateway.git
woodlee
iotgateway
iotgateway
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385