Azure-Samples / contoso-real-estate

Intelligent enterprise-grade reference architecture for JavaScript, featuring OpenAI integration, Azure Developer CLI template and Playwright tests.
MIT License
858 stars 512 forks source link

[Question] How are URIs injected into Blog/Next Docker image? #423

Open dfberry opened 8 months ago

dfberry commented 8 months ago

I can see the blog package.json has its own Docker commands for building with environment variables but I don't see how the azure.yml calls those scripts for Docker:build or Docker:run.

How does AZD build the container with the env variables? My understanding is that AZD itself only injects env vars when the final container starts.