From a59d8c75f8a955874044c95ea74b996314206faf Mon Sep 17 00:00:00 2001 From: H Vs Date: Thu, 29 Feb 2024 11:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NearCardAttendance.TcpServer/Dockerfile | 4 +++- NearCardAttendance.TcpServer/Program.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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 {