Closed zedy-wj closed 2 weeks ago
@zedy-wj thank you so much for your feedback.
updated ReadMe - Docker is now added to Prerequisites: https://github.com/ryanninodizon/AzureServerlessApp-with-auth-for-dotnet-angular/blob/main/README.md
I have added the missing Dockerfile inside frontend-angular project to resolve the issue. See the screenshot of my testing.
@ryanninodizon - The above two points look good to me!
But after the deployment is complete, when I click on the frontend endpoint, the web looks as follow:
This means that it was deployed successfully, but there is actually no content.
I checked your azure.yaml
file and the content is as follows when deploying the frontend:
frontend-angular:
project: frontend-angular
host: containerapp
language: ts
dist: dist/frontend-angular
I didn't find a similar path in template: dist/frontend-angular
. So I tried to run the command: ng build
under the frontend-angular
folder.(I'm not sure if this is the right way to do it. If extra steps are required here, please configure the relevant hooks to handle it. We don't want to require extra manual steps when using azd deployment.)
However, after I run ng build
, the folder that appears looks like this.
@zedy-wj thank you so much for your quick feedback. Dockerfile is now updated to resolve some config issue to deploy the angular app properly. Please see the screnshots of my testings. I hope everything will work on your side now.
Thank you again and have a nice day.
@ryanninodizon - Sorry for the delay. Due to some issues with the appinsights
service, I am unable to deploy your template successfully. We will test it again as soon as it is back to normal. You don't need to do anything at this time, just wait for the test to pass.
Deployed successfully. Closed as completed.
Deployed successfully. Closed as completed.
Thank you so much for taking time testing this. Have a nice day!
Describe the issue: Run![image](https://github.com/ryanninodizon/AzureServerlessApp-with-auth-for-dotnet-angular/assets/81678720/5869197d-5a69-4421-9d22-142a5927fdb4)
azd up
and the process of package will fail as below:Repro Steps:
codespace
.Azure Develop CLI
.azd auth login
azd init
azd up
Expected Behavior:
azd up
command can package, provision and deploy resources successfully.containerapp
when deployed usingazd
, additional tool: docker is required when running locally, please add it toPrerequisites
.@ryanninodizon for notification.