Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/sensenet/sn-taskmanagement
Browse files Browse the repository at this point in the history
… into develop
  • Loading branch information
kavics committed Feb 10, 2025
2 parents 1b4998c + fb8e7df commit a4d2e2a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/SenseNetTaskAgent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "TaskManagement.sln"
WORKDIR "/src/SenseNetTaskAgent"
RUN dotnet restore "SenseNetTaskAgent.csproj"
RUN dotnet build "SenseNetTaskAgent.csproj" -c Release -o /app/build

FROM build AS publish
Expand Down
6 changes: 3 additions & 3 deletions src/TaskManagementWeb.SNaaS/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "TaskManagement.sln"
WORKDIR "/src/TaskManagementWeb.SNaaS"
RUN dotnet restore "TaskManagement.Web.SNaaS.csproj"
RUN dotnet build "TaskManagement.Web.SNaaS.csproj" -c Release -o /app/build

FROM build AS publish
Expand Down
6 changes: 3 additions & 3 deletions src/TaskManagementWeb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "TaskManagement.sln"
WORKDIR "/src/TaskManagementWeb"
RUN dotnet restore "TaskManagement.Web.csproj"
RUN dotnet build "TaskManagement.Web.csproj" -c Release -o /app/build

FROM build AS publish
Expand Down
4 changes: 2 additions & 2 deletions src/TestExecutor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ ARG TASKAGENT_VERSION=latest
FROM sensenetcsp/sn-taskagent:${TASKAGENT_VERSION} AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "TestExecutor/TestExecutor.csproj"
WORKDIR "/src/TestExecutor"
RUN dotnet restore "TestExecutor.csproj"
RUN dotnet build "TestExecutor.csproj" -c Release -o /app/build

FROM build AS publish
Expand Down

0 comments on commit a4d2e2a

Please sign in to comment.