How to manage phases on railway yaml
gsiniguez
PROOP

a year ago

I need to understand how to phases and others configs

Solved

20 Replies

brody
EMPLOYEE

a year ago

lets start with what problems you are facing first please


gsiniguez
PROOP

a year ago

9eacc05f-f832-4e03-84f2-cf8f7865f0c0


brody
EMPLOYEE

a year ago

what is the root problem you are trying to fix


gsiniguez
PROOP

a year ago

Hi brody, my problem its i added phases.install for install comand and nothing happens


gsiniguez
PROOP

a year ago

This is my file

1336481429818835000


brody
EMPLOYEE

a year ago

right but let's go back to the root issue, what issues are you trying to solve


gsiniguez
PROOP

a year ago

Its a monorepo and i need to install only project dependencies and not all projects dependencies


brody
EMPLOYEE

a year ago

perfect, thank you


brody
EMPLOYEE

a year ago

so that's a railway.toml, but the phases stuff should be out in a nixpacks.toml file


gsiniguez
PROOP

a year ago

ahhhhh ok


gsiniguez
PROOP

a year ago

And if i have only phase.install other stuff has default?


brody
EMPLOYEE

a year ago

yep, you only need to add what you want to change


gsiniguez
PROOP

a year ago

I setup file in root/apps/proxy/nixpacks.yaml


gsiniguez
PROOP

a year ago

And build still uses default cmd

1336482551560274000


brody
EMPLOYEE

a year ago

show me your nixpacks.toml file please?


gsiniguez
PROOP

a year ago

i forgot nixpacksConfigPath on railway.toml


gsiniguez
PROOP

a year ago

Now works!


gsiniguez
PROOP

a year ago

Thank you


brody
EMPLOYEE

a year ago

ah was just gonna say that, awsome!


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody 12 months ago


Loading...