|
|
@@ -13,7 +13,9 @@ COPY ["NearCardAttendance.Model/NearCardAttendance.Model.csproj", "NearCardAtten |
|
|
|
COPY ["NearCardAttendance.Common/NearCardAttendance.Common.csproj", "NearCardAttendance.Common/"] |
|
|
|
COPY ["NearCardAttendance.Service/NearCardAttendance.Service.csproj", "NearCardAttendance.Service/"] |
|
|
|
RUN dotnet nuget remove source nuget.org |
|
|
|
RUN dotnet nuget add source https://repo.huaweicloud.com/repository/nuget/v3/index.json -n huaweicloud_nuget |
|
|
|
#RUN dotnet nuget add source https://repo.huaweicloud.com/repository/nuget/v3/index.json -n huaweicloud_nuget |
|
|
|
RUN dotnet nuget add source https://nuget.cdn.azure.cn/v3/index.json -n azure_nuget |
|
|
|
|
|
|
|
RUN dotnet restore "NearCardAttendance.TcpServer/NearCardAttendance.TcpServer.csproj" |
|
|
|
COPY . . |
|
|
|
WORKDIR "/src/NearCardAttendance.TcpServer" |
|
|
|