Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nax committed Jun 17, 2024
1 parent 8eaad62 commit 10fba46
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions examples/Actor/DemoActor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0-jammy-chiseled AS base
FROM mcr.microsoft.com/dotnet/aspnet:6.0-jammy-chiseled-extra AS base
WORKDIR /app
EXPOSE 5010

FROM mcr.microsoft.com/dotnet/sdk:6.0-jammy AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
WORKDIR /
# Copy base projects
COPY ["examples/Actor/DemoActor/", "examples/Actor/DemoActor/"]
# Copy shared dependencies
# Copy dependencies
COPY ["examples/Actor/IDemoActor/", "examples/Actor/IDemoActor/"]
COPY ["src/Dapr.Actors/", "src/Dapr.Actors/"]
COPY ["src/Dapr.Actors.AspNetCore/", "src/Dapr.Actors.AspNetCore/"]
COPY ["src/Dapr.Client/", "src/Dapr.Client/"]
COPY ["src/", "src/"]
COPY ["properties/", "properties/"]
# Restore the project and build it
WORKDIR "/examples/Actor/DemoActor"
RUN dotnet restore "DemoActor.csproj"
Expand Down

0 comments on commit 10fba46

Please sign in to comment.