Azure-Samples / azure-openai-rag-workshop

Create your own ChatGPT with Retrieval-Augmented-Generation workshop
https://aka.ms/ws/openai-rag
MIT License
97 stars 349 forks source link

In Dockerfile section: npm run docker:run not working #7

Closed sinedied closed 9 months ago

sinedied commented 1 year ago

There's currently an issue with the npm run docker:run command.

It seems that Docker doesn't properly read the .env file, resulting in the error.

sinedied commented 9 months ago

More details on the issue: when ran inside the container, @azure/identity cannot access the managed identity from the Azure CLI: https://github.com/Azure/azure-sdk-for-net/issues/19167 Workarounds are pretty convoluted here, and the issue has been fixed in the qdrant variant of the workshop. The AI Search variant of the workshop cannot run the image locally, so the workshop will be updated to reflect that.