azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Deployment fails as requirements.txt not present in root folder
Please provide us with the following information:
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
azd version?
run
azd versionand copy paste here.
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.
Azure Deployment is getting failed as requirements.txt file seems to be missing.
The requirements.txt is inside app/backend, and that's what azd deploys per the azure.yaml file. Are you deploying some different way?
I am trying to deploy this Github application in Azure App service. I am using CI/CD process way of deploying this code repo into the Azure app service. During that build fails with that mentioned error
You should cd into app/backend and run the deploy from there, in that case. You'll also need to run npm install from the frontend folder as a first step.
You could also use azd for your CI/CD, we had a stream about that yesterday: https://aka.ms/hacktogether/chatapp/session10