Skip to content

Comments

Configure for remote build: add remoteBuild flag to azure.yaml#3

Open
anthonychu wants to merge 1 commit intoAzure-Samples:mainfrom
anthonychu:update-remote-build-config
Open

Configure for remote build: add remoteBuild flag to azure.yaml#3
anthonychu wants to merge 1 commit intoAzure-Samples:mainfrom
anthonychu:update-remote-build-config

Conversation

@anthonychu
Copy link
Member

@anthonychu anthonychu commented Feb 12, 2026

This PR configures the project for remote build when deploying with azd.

Changes

azure.yaml

  • Added remoteBuild: true to the service configuration

Note: The .funcignore already correctly ignores node_modules, so no changes were needed there.

Why

When deploying with azd, remote build is used. Adding remoteBuild: true to azure.yaml ensures the deployment pipeline explicitly uses remote build, where dependencies are installed on the server during deployment.

About remoteBuild: true in azure.yaml

The remoteBuild: true flag in azure.yaml is being added ahead of support in azd. See Azure/azure-dev#6748.

Adding this flag now has no effect on current versions of azd, but will be used by new versions that support it. The goal is to explicitly pin the remote build behavior for this project so that it is not affected by potential future changes to the default build behavior in azd.

@anthonychu anthonychu self-assigned this Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant