Skip to content

Commit f7f4727

Browse files
committed
update docker
1 parent fd4c6b5 commit f7f4727

File tree

1 file changed

+5
-5
lines changed
  • HwProj.AuthService/HwProj.AuthService.API

1 file changed

+5
-5
lines changed

HwProj.AuthService/HwProj.AuthService.API/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
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"]
55

66
COPY ["HwProj.AuthService/HwProj.AuthService.API/", "HwProj.AuthService/HwProj.AuthService.API/"]
7-
COPY ["HwProj.Common/HwProj.Utils/", "HwProj.Common/HwProj.Utils/"]
8-
COPY ["HwProj.EventBus/HwProj.EventBus.Client/", "HwProj.EventBus/HwProj.EventBus.Client/"]
7+
COPY ["HwProj.Common/HwProj.Common.Net8/", "HwProj.Common/HwProj.Common.Net8/"]
98
COPY ["HwProj.Common/HwProj.Models/", "HwProj.Common/HwProj.Models/"]
10-
COPY ["HwProj.Common/HwProj.Repositories/", "HwProj.Common/HwProj.Repositories/"]
9+
COPY ["HwProj.EventBus/HwProj.EventBus.Client/", "HwProj.EventBus/HwProj.EventBus.Client/"]
10+
COPY ["HwProj.NotificationsService/HwProj.NotificationService.Events/", "HwProj.NotificationsService/HwProj.NotificationService.Events/"]
1111

1212
WORKDIR "/src/HwProj.AuthService/HwProj.AuthService.API"
1313
RUN dotnet publish "HwProj.AuthService.API.csproj" -c Release -o /app/publish
1414

15-
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS final
15+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
1616
WORKDIR /app
1717

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

0 commit comments

Comments
 (0)