re: Dockerize the multi-services application for local development VIEW POST

re: For now, I do not have such problems, because of mac. I think you could change BUNDLE_PATH for something less like '/app/bundle' not to be a root d...

like '/app/bundle'

Yes, I do it this way now, but annoying bundle folder (though empty) gets created in app directory on host. And still no luck because bundler says / is not writable.

Do you also consider to run the docker as non-root user for linux?

You mean docker command? I run it as non-root, but there's still this issue on Linux

My last set of questions :)

  1. Why do you need to set BUNDLE_PATH both in and docker-compose.yml?
  2. When do you run bundle install? I cannot find it here

Thanks a lot for your answers!

Thanks for the questions, they are really make sense!

1) seems setting it in docker-compose is redundant
2) most suitable place, I think, is to leave the bundle install at bin/setup where it usually is, like here

code of conduct - report abuse