in a repo I have a `Dockerfile` in a subpath, when I run deploy it deploys entire repo
I have
./anvil/Dockerfile
and ./Dockerfile
. I run RAILWAY_DOCKERFILE_PATH=./anvil/Dockerfile railway up --service anvil
and it deploys everything and uses root Dockerfile. How can I deploy just that one Dockerfile I specified the path for?16 Replies
Project ID:
N/A
could you set the root directory to
/anvil
and remove the dockerfile path variable?you mean run railway up in the level where the Dockerfile I want to deploy is at?
nope, set the root directory of the service to
/anvil
that setting can be found in the service settingsdon't see it
it's in the service settings
disable staged changes
where's that?
in the flags
don't see it
in your account settings
ok I'm part of a team
one of these?
sorry, its called Updated Environments now
disable that
you can now set the root directory