Azure-Samples / rag-postgres-openai-python

A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
MIT License
106 stars 17 forks source link

Prepackage hooks runs after building the docker image #53

Open john0isaac opened 1 week ago

john0isaac commented 1 week ago

Description

The first deployment fails (obviously as the static folder was not included in the docker image)

image

After deploying again the website works (as the static folder is already there from the first deployment)

Proposal

Is this an azd failure or do we understand the service lifecycle wrong? The frontend build step is in the prepackage stage yet it happens after building the docker image.