默认端口是80
在dockerfile文件中修改
ENV ASPNETCORE_URLS http://+:80
---------------------------------------------------------------
ENV ASPNETCORE_PKG_VERSION 2.1.2
CMD ["dotnet", "Demo.Web.dll","--server.urls","http://8000"]
默认端口是80
在dockerfile文件中修改
ENV ASPNETCORE_URLS http://+:80
---------------------------------------------------------------
ENV ASPNETCORE_PKG_VERSION 2.1.2
CMD ["dotnet", "Demo.Web.dll","--server.urls","http://8000"]