ARTICLE AD BOX
My Dockerfile is in the root project directory, and railway.json is also in the root directory.
Problem: Railway It won't let me build. Message:
Dockerfile "Dockerfile does not exist"
appears.
I'm trying to deploy a Django web application to Railways, but I'm getting that message.
Everything is in the same directory, both railway.json and the Dockerfile. I've already deleted and recreated the Railways project, but I still can't build.
{ "$schema": "https://railway.com/railway.schema.json", "build": { "builder": "DOCKERFILE", "dockerfilePath": "Dockerfile" }, "deploy": { "runtime": "V2", "numReplicas": 1, "sleepApplication": false, "useLegacyStacker": false, "multiRegionConfig": { "us-east4-eqdc4a": { "numReplicas": 1 } }, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 } }