I was deploying a Container Registry in App Platform, and after the composer install
command ran, it showed me a deployment error. I don’t know why this happened, but I noticed that the composer install
process is being executed twice on every deployment.
I couldnt attach the image, but here is it => https://imgur.com/a/gzuVxYW
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey!
As far as I can tell your build process has been successful so the
composer install
seems to have completed successfully during the build stage.Can you share the deploy command that you currently have setup?
Usually the run command should look like this:
You don’t need to have
composer install
defined in the run command.Here is a Laravel project that I maintain that works well on the App Platform:
Best,
Bobby