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
@elskwid@phlipper Do you agree with this? I'm trying to figure out the best start up behavior for the container. I think it shouldn't run bundle install every time it starts.
CMD is rails server by default (or possibly just rails with compose handling the service bits)
bundle install is handled during docker build vs. manually
docker-compose run --rm app rails db:setup is a fine one-time setup, possibly automated via a project bootstrap step (e.g. bin/bootstrap.sh) with other required setup steps
Current default command in docker-compose is bash -c 'bundle install --no-deployment && rails db:migrate && rails s'
Behavior should be:
The text was updated successfully, but these errors were encountered: