Skip to content
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

oryx is running the composer install command by default #2385

Open
AG-Abhirup opened this issue Mar 12, 2024 · 0 comments
Open

oryx is running the composer install command by default #2385

AG-Abhirup opened this issue Mar 12, 2024 · 0 comments

Comments

@AG-Abhirup
Copy link

While Doing the deployment via Azure WebApp’s Deployment Center its brings in a file oryx

Which enable PHP to run the composer.

Refer:

1. Run custom command or script if specified by `PRE_BUILD_COMMAND` or `PRE_BUILD_SCRIPT_PATH`.

The PHP toolset will run when the following conditions are met:

composer.json file exists in the root of the repository.

Files with .php extension in root of repository or in any sub-directories.

Build
We have the composer.json file available in the root folder hence its running the below step

Run php composer.phar install --ignore-platform-reqs --no-interaction if composer file found

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

No branches or pull requests

1 participant