Set a Start Command

A start command is the process used to run a Deployment's code, for example python or npm run start.

Railway automatically configures the start command based on the code being deployed, see Build and Start Commands for more details

Configure the Start Command

When necessary, start commands may be overridden, like for advanced use-cases such as deploying multiple projects from a single monorepo.

When specifying a start command, the behavior of the image depends on type of build:

Screenshot of custom start command configuration


If your code uses a Dockerfile, the start command defaults to the ENTRYPOINT and/or CMD defined in the Dockerfile.

Edit this file on GitHub