Skip to content

Commit bddd61c

Browse files
committed
docker
1 parent ff393ae commit bddd61c

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

  • HwProj.CoursesService/HwProj.CoursesService.API
  • HwProj.NotificationsService/HwProj.NotificationsService.API

HwProj.CoursesService/HwProj.CoursesService.API/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /src
33

44
COPY ["Directory.Build.props", "Directory.Build.props"]
@@ -7,8 +7,8 @@ COPY ["HwProj.CoursesService/HwProj.CoursesService.API/", "HwProj.CoursesService
77
COPY ["HwProj.Common/HwProj.Utils/", "HwProj.Common/HwProj.Utils/"]
88
COPY ["HwProj.Common/HwProj.Exceptions/", "HwProj.Common/HwProj.Exceptions/"]
99
COPY ["HwProj.EventBus/HwProj.EventBus.Client/", "HwProj.EventBus/HwProj.EventBus.Client/"]
10-
COPY ["HwProj.Common/HwProj.Models/", "HwProj.Common/HwProj.Models/"]
11-
COPY ["HwProj.Common/HwProj.Repositories/", "HwProj.Common/HwProj.Repositories/"]
10+
COPY ["HwProj.Common/HwProj.Common.Net8/", "HwProj.Common/HwProj.Common.Net8/"]
11+
COPY ["HwProj.Common/HwProj.Repositories.Net8/", "HwProj.Common/HwProj.Repositories.Net8/"]
1212
COPY ["HwProj.AuthService/HwProj.AuthService.Client/", "HwProj.AuthService/HwProj.AuthService.Client/"]
1313
COPY ["HwProj.ContentService/HwProj.ContentService.Client/", "HwProj.ContentService/HwProj.ContentService.Client/"]
1414
COPY ["HwProj.Common/HwProj.HttpUtils/", "HwProj.Common/HwProj.HttpUtils/"]
@@ -17,7 +17,7 @@ COPY ["HwProj.NotificationsService/HwProj.NotificationService.Events/", "HwProj.
1717
WORKDIR "/src/HwProj.CoursesService/HwProj.CoursesService.API"
1818
RUN dotnet publish "HwProj.CoursesService.API.csproj" -c Release -o /app/publish
1919

20-
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS final
20+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
2121
WORKDIR /app
2222

2323
COPY --from=build /app/publish .

HwProj.NotificationsService/HwProj.NotificationsService.API/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ COPY ["HwProj.NotificationsService/HwProj.NotificationService.Events/", "HwProj.
88
COPY ["HwProj.Common/HwProj.Common.Net8/", "HwProj.Common/HwProj.Common.Net8/"]
99
COPY ["HwProj.EventBus/HwProj.EventBus.Client/", "HwProj.EventBus/HwProj.EventBus.Client/"]
1010
COPY ["HwProj.Common/HwProj.Models/", "HwProj.Common/HwProj.Models/"]
11-
COPY ["HwProj.Common/HwProj.Repositories/", "HwProj.Common/HwProj.Repositories/"]
1211
COPY ["HwProj.Common/HwProj.Repositories.Net8/", "HwProj.Common/HwProj.Repositories.Net8/"]
1312
COPY ["HwProj.SolutionsService/HwProj.SolutionsService.Client/", "HwProj.SolutionsService/HwProj.SolutionsService.Client/"]
1413
COPY ["HwProj.Common/HwProj.Exceptions/", "HwProj.Common/HwProj.Exceptions/"]

0 commit comments

Comments
 (0)