Dockerfile看不到本地文件或私有Nuget服务器

 

如下代码  dotnet restore 添加2个包源,2个-s,一个是官方的,一个是内网的。

 

 

RUN dotnet restore "FONE.Gateway/FONE.Gateway.csproj" -s http://10.10.1.66:1000/v3/index.json -s https://api.nuget.org/v3/index.json

 

posted @ 2021-11-11 13:30  沐雪架构师  阅读(138)  评论(0编辑  收藏  举报