New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add static frontend support for azd buildpacks #2900
Conversation
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSIContainer
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be more tests on this PR?
When a containerized static frontend (with no Dockerfile) specifies an output directory
dist
, azd will configure Oryx builder to serve static content from the output directory using nginx.The azure.yaml generation logic in simplified init is updated to include better
dist
defaults for specific web frameworks, supporting angular, react, and vue at minimum.Finally, Oryx has surfaced
ORYX_RUNTIME_PORT
as a configuration knob. azd will always set this to port 80 for consistency and avoid dealing with language-specific ports.Fixes #2750