The build command is the command-line statement that compiles your app resource at build time. The build command should be geared towards installing all needed dependencies for your resource to run, as every build starts from an environment that is empty other than the programming language runtime provided by the buildpack.
The run command is the command-line statement that launches your app resource after it has been built. For example, if this is a service, this means that when the run command is complete, the proper HTTP routes and HTTP ports are open and ready to receive requests after executing the run command.
Both build and run commands can be compound (joined by
&& or separated by newlines) if you need to perform multiple actions at build or run time. App Platform will attempt to infer these commands at inspection time, however if it is unable to do so, you must set them manually.