forked from autogenhub/autogen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy to azure with azd (autogenhub#49)
- Loading branch information
1 parent
65a262b
commit 9168d11
Showing
12 changed files
with
169 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base | ||
WORKDIR /app | ||
EXPOSE 5274 | ||
EXPOSE 11111 | ||
EXPOSE 30000 | ||
|
||
ENV ASPNETCORE_URLS=http://+:5274 | ||
|
||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | ||
ARG configuration=Release | ||
COPY . . | ||
RUN dotnet restore "src/apps/gh-flow/gh-flow.csproj" | ||
WORKDIR "/src/apps/gh-flow" | ||
RUN dotnet build "gh-flow.csproj" -c $configuration -o /app/build | ||
RUN dotnet restore "samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj" | ||
WORKDIR "samples/gh-flow/src/Microsoft.AI.DevTeam" | ||
RUN dotnet build "Microsoft.AI.DevTeam.csproj" -c $configuration -o /app/build | ||
|
||
FROM build AS publish | ||
ARG configuration=Release | ||
RUN dotnet publish "gh-flow.csproj" -c $configuration -o /app/publish | ||
RUN dotnet publish "Microsoft.AI.DevTeam.csproj" -c $configuration -o /app/publish | ||
|
||
FROM base AS final | ||
WORKDIR /app | ||
COPY --from=publish /app/publish . | ||
ENTRYPOINT ["dotnet", "gh-flow.dll"] | ||
ENTRYPOINT ["dotnet", "Microsoft.AI.DevTeam.dll"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
namespace Microsoft.AI.Agents.Abstractions | ||
{ | ||
[GenerateSerializer] | ||
public class Event | ||
{ | ||
[Id(0)] | ||
public string Message { get; set; } | ||
[Id(1)] | ||
public Dictionary<string, string> Data { get; set; } | ||
[Id(2)] | ||
public string Type { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters