Railway now supports deploying monorepo applications using two key features. For isolated monorepos (where components are self-contained), you can set a custom Root Directory so Railway only clones and builds that subdirectory. For shared monorepos (like Yarn workspaces or Lerna projects) where components share code, you can use Custom Start Commands to build the full repo and start a specific component, enabling multiple Railway projects to run different parts of the same monorepo.

3m read timeFrom blog.railway.com
Post cover image
Table of contents
Table of ContentsCustom Root Directories for Isolated MonoreposCustom Start Commands for Shared MonoreposStay Tuned For More

Sort: