5 months ago
hello, i am having soem trouble - it keeps saying '\backend\Dockerfile does not exist, however it does, i've checked case and all that - any guidance? 

7 Replies
5 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Dockerfile
Dockerfiledoes not exist when deploying directus cms🧵 column 9827483463398fbb7d6b96916fe451d8bdefa0e8.role does not exist
🧵 There was an error deploying from source. Dockerfile not detected
If you find the answer from one of these, please let us know by solving the thread!
5 months ago
Can you share what you have your root directory set to as well as the repository if possible?
If the repository is private, please share the Dockerfile.
samgordon
Can you share what you have your root directory set to as well as the repository if possible?If the repository is private, please share the Dockerfile.
5 months ago
railway.toml and the env variable direct to backend/Dockerfile
[build]
builder = "DOCKERFILE"
dockerfilePath = "backend/Dockerfile"
root is the appropriate directory
Attachments
5 months ago
1 yea, i explored that exhaustively: root directory
/
(razzberry-backend)/backend/Dockerfile (root is the appropriate folder)
2 i am doing this on windows (wsl ubuntu), but had been in powershell/vs code (powershell, git, and wsl ubuntu. kinda migrated between)
but should that matter? i mean, railway is going off github, which i always thought of as OS agnostic, and it just matters that the syntax to the appropriate language is accurate
3 yea, checked that as well. checked to make sure its not still a pending commit, etc.
:: archangel@DESKTOP-CNOVKBH:/mnt/c/src/razzberry-backend$ ls backend
Dockerfile docker-entrypoint.sh node_modules scripts
ai-wingman.ps1 docs package.json services
diagnostic-report-2025-08-08T21-50-58-962Z.json index.js prisma src
diagnostic-report-2025-08-09T09-08-20-789Z.json map-service.ps1 routes worker
docker-compose.yml contents:
services:
db:
image: postgres:15
container_name: razzberry-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
samgordon
Can you share what you have your root directory set to as well as the repository if possible?If the repository is private, please share the Dockerfile.
5 months ago
i dont mind adding as a collaborator to view, otherwise the attached screenshot may help somewhat
Attachments
5 months ago
nvm, still have the issue, though ti did away with it
adrian-estielle
nvm, still have the issue, though ti did away with it
5 months ago
Have you tried removing the railway.toml value and setting the root directory to just /backend?
Status changed to Closed noahd • 5 months ago