Docker compose "context", supported in Railway when building a Dockerfile?
I have a Docker compose file I'm trying to bring to Railway, I'm noticing that one Dockerfile fails to build because it can't find the folders its trying to build:
The only difference I see to the other Dockerfiles in the compose file is it uses a context:
My Dockerfile is built using:
Solution:Jump to solution
i think?
set the root directory to
/apiserver
and then set RAILWAY_DOCKERFILE_PATH
to Dockerfile.api
...7 Replies
Project ID:
7949f621-c09b-43d4-a8c8-8e51ccffaaac,7949f621-c09b-43d4-a8c8-8e51ccffaaac,7949f621-c09b-43d4-a8c8-8e51ccffaaac
Solution
i think?
set the root directory to
/apiserver
and then set RAILWAY_DOCKERFILE_PATH
to Dockerfile.api
thats encouraging 🙂 Ty brody! Dumb question, but how do I set the root directory?
service settings
right!
somewhere in the source section
ooof I see it
easily missed that one
deploying
lets seeee
that was it
awesome
:salute: