Closed ThorstenBruegge closed 2 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @ralph-msft @trrwilson.
Hi @ThorstenBruegge. Thanks for reaching out and we regret that you're experiencing difficulties. Since there has not yet been a stable release of Azure.OpenAI
the failure to find one is expected. The behavior that you're seeing is not something that the Azure.OpenAI
package has insight into nor influence over. Unfortunately, that's as much assistance as we can provide from this repository. The maintainers of the Azure SDK libraries are unable to provide assistance for other products.
I can't say whether this would be related to the dotnet
CLI or docker integration, or both. I would suggest engaging the .NET team in their repository or opening a support request for .NET.
Hi @ThorstenBruegge. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
Hi @ThorstenBruegge, since you haven’t asked that we /unresolve
the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve
to reopen the issue.
Library name and version
Azure.AI.OpenAI 2.0.0-beta.2
Query/Question
Hello,
I am encountering an issue while building a Docker image for my .NET 8.0 project that includes the Azure.AI.OpenAI package. Despite having the 2.0.0-beta.2 version specified and allowing for pre-release versions, the Docker build fails with the following error:
Steps to Reproduce:
The Azure.AI.OpenAI package in Directory.Packages.props:
The nuget.config:
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["nuget.config", "."] COPY ["[...]Detection.Api.csproj", "src/cmt.Detection.Api/"] RUN dotnet restore "[...]Detection.Api.csproj" --configfile "./nuget.config" COPY . . WORKDIR "[...]Detection.Api" RUN dotnet build "[...]Detection.Api.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish ARG BUILD_CONFIGURATION=Release RUN dotnet publish "[...]Detection.Api.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["dotnet", "[...]Detection.Api.dll"]