Problems with Dockerfile prisma
baobab-kernel
HOBBYOP
14 days ago
Hello,
I'm running into a critical problem with deploying my backend service on Railway.
Despite several automatic PRs generated by railway-app[bot], the Dockerfile used during the build is never the one in my repository. I've noticed:
- The Dockerfile disappearing and then reappearing in main
- Successive PRs rewriting an incorrect Dockerfile
- Builds failing consistently with the error: 'Could not find Prisma Schema'
- Prisma generate running in the runner before the prisma/ folder is copied
- Use of a Dockerfile based on node:20-alpine that doesn't match my source file
I want to understand why Railway isn't deploying the Dockerfile in my repo and why the automatic PRs aren't fixing the issue.
Thanks for your help to stabilize the pipeline and allow the service to deploy correctly.
2 Replies
Railway
BOT
14 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 14 days ago
14 days ago
I assume the production service correctly uses the Dockerfile that's present in the main branch?