Dockerfile context configuration
danielroig
TRIALOP
a year ago
Hi!
Im trying to set up the railway.json. I have one project with two folders "backend" and "frontend", each of those with a Dockerfile.
"build": {
"builder": "DOCKERFILE",
"dockerfilePath": "./backend/Dockerfile"
}It detects the dockerfile correctly, but in my dockerfile I copy files from root to any route inside container. It fails because it is trying to copy those files from root of the project instead of backend folder. Is there anyway to specify the context for dockerfile?
Thanks!
0 Replies