From 242d81cfaf6ffc8b2c91c9f9fa3b4351aeca68eb Mon Sep 17 00:00:00 2001 From: H Vs Date: Thu, 29 Feb 2024 10:42:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NearCardAttendance.TcpServer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NearCardAttendance.TcpServer/Dockerfile b/NearCardAttendance.TcpServer/Dockerfile index c3a2433..a0d68fc 100644 --- a/NearCardAttendance.TcpServer/Dockerfile +++ b/NearCardAttendance.TcpServer/Dockerfile @@ -9,6 +9,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["NearCardAttendance.TcpServer/NearCardAttendance.TcpServer.csproj", "NearCardAttendance.TcpServer/"] +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 restore "./NearCardAttendance.TcpServer/./NearCardAttendance.TcpServer.csproj" @@ -23,7 +24,6 @@ RUN dotnet publish "./NearCardAttendance.TcpServer.csproj" -c $BUILD_CONFIGURATI FROM base AS final WORKDIR /app COPY --from=publish /app/publish . - ENV environment=Development ENV TimeZone=Asia/Shanghai ENV LANG C.UTF-8