You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Sorry I don't know of any blogs that talk about this specifically but I can tell you what I find inconvenient about running the app itself from within a container.
I need full env locally for executing tests. Also consider editor integration for test execution. Can't see this being easy at the moment.
I also need this for running rails console.
I rely heavily on debugging with pry. Not sure how this works when it's ran from within container but if it involves remote debugger, it's already more complicated.
I did recently do this to run sidekiq workers from within a container because those are mostly background but I then discovered another issue. Every time the Gemfile is modified you need to rerun bundle install via fig build and the prior layer isn't cached, so it's a clean bundle install (2-5 minutes depending on, well, bundler). I plan to blog about that soon but this is the Dockerfile and fig.yml I used:
You mentioned it was difficult to develop and debug rails in a container, do you have any blog links that talk about this?
Thanks!
The text was updated successfully, but these errors were encountered: