用来检测负载的脚本
分类 "经验累积" 下的文章
docker build -t mbsapi .
打包已发布的系统
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. #Dockerfile FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 5566 RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo 'Asia/Shanghai' >/etc/timezone ADD ./net6.0/ /app ENTRYPOINT ["dotnet", "Admin.dll","--urls","https://*:5566"]