From 25ec50b4977fece28519597860340fd781cf8e61 Mon Sep 17 00:00:00 2001 From: H Vs Date: Thu, 29 Feb 2024 10:53:36 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NearCardAttendance.TcpServer/Dockerfile b/NearCardAttendance.TcpServer/Dockerfile index a0d68fc..fff9f4b 100644 --- a/NearCardAttendance.TcpServer/Dockerfile +++ b/NearCardAttendance.TcpServer/Dockerfile @@ -12,6 +12,8 @@ COPY ["NearCardAttendance.TcpServer/NearCardAttendance.TcpServer.csproj", "NearC COPY ["NearCardAttendance.Model/NearCardAttendance.Model.csproj", "NearCardAttendance.Model/"] 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 restore "./NearCardAttendance.TcpServer/./NearCardAttendance.TcpServer.csproj" COPY . . WORKDIR "/src/NearCardAttendance.TcpServer"