This commit is contained in:
liushoushan_notebook 2022-06-30 16:11:27 +08:00
parent c256036fb1
commit 0a196503ab

View File

@ -22,8 +22,9 @@ COPY ["Plugins/Drivers/DriverSiemensS7/DriverSiemensS7.csproj", "Plugins/Drivers
COPY ["Plugins/Drivers/DriverSimTcpClient/DriverSimTcpClient.csproj", "Plugins/Drivers/DriverSimTcpClient/"] COPY ["Plugins/Drivers/DriverSimTcpClient/DriverSimTcpClient.csproj", "Plugins/Drivers/DriverSimTcpClient/"]
# 测试的内容 # 测试的内容
RUN pwd
RUN ls -l RUN ls -l
RUN dotnet restore "DriverModbusMaster.csproj" RUN dotnet restore "Plugins/Drivers/DriverModbusMaster/DriverModbusMaster.csproj"
WORKDIR "/src/Plugins/Drivers/DriverModbusMaster" WORKDIR "/src/Plugins/Drivers/DriverModbusMaster"
RUN dotnet build "DriverModbusMaster.csproj" -c Release -o /app/build/drivers/net6.0 RUN dotnet build "DriverModbusMaster.csproj" -c Release -o /app/build/drivers/net6.0