diff --git a/NearCardAttendance.TcpServer/Dockerfile b/NearCardAttendance.TcpServer/Dockerfile index 5434283..8aa96a7 100644 --- a/NearCardAttendance.TcpServer/Dockerfile +++ b/NearCardAttendance.TcpServer/Dockerfile @@ -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" diff --git a/NearCardAttendance.TcpServer/Program.cs b/NearCardAttendance.TcpServer/Program.cs index 143bc5c..1bde2a4 100644 --- a/NearCardAttendance.TcpServer/Program.cs +++ b/NearCardAttendance.TcpServer/Program.cs @@ -12,8 +12,8 @@ using NearCardAttendance.Service.TcpServer.Mapper; using NearCardAttendance.TcpServer.Config; using Serilog; using NearCardAttendance.Model; -using System.Text; using TelpoDataService.Util.Clients; +using System.Text; namespace NearCardAttendance.TcpServer {