Build and Start Commands
If necessary, build and start commands can be manually configured.
Overrides are exposed in the service configuration to enable customizing the Build and Start commands. When an override is configured, Railway uses the commands specified to build and start the service.
The command to build the service, for example
yarn run build. Override the detected build command by setting a value in your service settings.
Railway automatically configures the start command based on the code being deployed.
If your code uses a Dockerfile, the start command defaults to the
CMD defined in the Dockerfile.
Override the detected start command by setting a value in your service settings.
For more information on how to configure builds, check out the Builds guide section.
For more information on how to configure a service's deployment lifecycle, like the Start command, check out the Deployments guide section.
Edit this file on GitHub