浏览代码

调整

develop
H Vs 9 个月前
父节点
当前提交
a59d8c75f8
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. +3
    -1
      NearCardAttendance.TcpServer/Dockerfile
  2. +1
    -1
      NearCardAttendance.TcpServer/Program.cs

+ 3
- 1
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"


+ 1
- 1
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
{


正在加载...
取消
保存