File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/aspnet:6 .0 AS base
1+ FROM mcr.microsoft.com/dotnet/aspnet:8 .0 AS base
22WORKDIR /app
33
4- FROM mcr.microsoft.com/dotnet/sdk:6 .0 AS build
4+ FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build
55WORKDIR /src
66COPY . .
7- RUN dotnet restore "TaskManagement.sln"
87WORKDIR "/src/SenseNetTaskAgent"
8+ RUN dotnet restore "SenseNetTaskAgent.csproj"
99RUN dotnet build "SenseNetTaskAgent.csproj" -c Release -o /app/build
1010
1111FROM build AS publish
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/aspnet:6 .0 AS base
1+ FROM mcr.microsoft.com/dotnet/aspnet:8 .0 AS base
22WORKDIR /app
33EXPOSE 80
44EXPOSE 443
55
6- FROM mcr.microsoft.com/dotnet/sdk:6 .0 AS build
6+ FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build
77WORKDIR /src
88COPY . .
9- RUN dotnet restore "TaskManagement.sln"
109WORKDIR "/src/TaskManagementWeb.SNaaS"
10+ RUN dotnet restore "TaskManagement.Web.SNaaS.csproj"
1111RUN dotnet build "TaskManagement.Web.SNaaS.csproj" -c Release -o /app/build
1212
1313FROM build AS publish
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/aspnet:6 .0 AS base
1+ FROM mcr.microsoft.com/dotnet/aspnet:8 .0 AS base
22WORKDIR /app
33EXPOSE 80
44EXPOSE 443
55
6- FROM mcr.microsoft.com/dotnet/sdk:6 .0 AS build
6+ FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build
77WORKDIR /src
88COPY . .
9- RUN dotnet restore "TaskManagement.sln"
109WORKDIR "/src/TaskManagementWeb"
10+ RUN dotnet restore "TaskManagement.Web.csproj"
1111RUN dotnet build "TaskManagement.Web.csproj" -c Release -o /app/build
1212
1313FROM build AS publish
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ ARG TASKAGENT_VERSION=latest
22FROM sensenetcsp/sn-taskagent:${TASKAGENT_VERSION} AS base
33WORKDIR /app
44
5- FROM mcr.microsoft.com/dotnet/sdk:6 .0 AS build
5+ FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet restore "TestExecutor/TestExecutor.csproj"
98WORKDIR "/src/TestExecutor"
9+ RUN dotnet restore "TestExecutor.csproj"
1010RUN dotnet build "TestExecutor.csproj" -c Release -o /app/build
1111
1212FROM build AS publish
You can’t perform that action at this time.
0 commit comments