Ayush
Build Projects from Different Dockerfiles
Hi guys,
Quick question - is it possible to build multiple different projects from dockerfiles that exist in the same directory?
Given the following folder structure:
My API project is successfully building in railway. The root directory is configured as "/src/server/" .
My Service project however is not building (same root directory configuration as above) when trying to target Dockerfile.test which i specified as a service variable:
RAILWAY_DOCKERFILE_PATH=Dockerfile.test
any ideas on what im doing wrong? Perhaps im misunderstanding this guide:
https://docs.railway.app/guides/dockerfiles
8 replies
the database server at xxx.proxy.net:10037 was reached but timed out
Hi guys, i building a new project using this template:
https://github.com/railwayapp-templates/nextjs-prisma
I've noticed that after a few days when the web app rebuilds it fails to connect to the postgres container and as a result the build fails. It feels like this error may be a red herring because i can definitely connect to the container and see the data etc.
The fix that i've been getting away with is to restart the postgres container. Then the nextjs builds fine.
Any ideas?
17 replies