Hi! I’m trying to run a docker image of an older Rails system. I can get everything up fine on my local but in my docker-compose.yml I use a volume for my source code. I made a disk in render for my app and set my directory name in the mount path. I know my source is copied there initially because i can do a bundle install so it sees my Gemfile. But after it deploys my source isn’t there.
Thanks for reaching out. I’m not 100% clear on your implementation here.
Disks are intended for data that needs to persist outside of your app’s code, e.g. user content such as file uploads, etc. Disks are not available at build time, your source should be part of the built Docker image.
If you have some more details on what you’re trying to achieve we may be able to assist you further.