David Kimura PRO said over 2 years ago on Docker on Rails 7 :
  What does your Dockerfile look like? My guess is that the bundle volume mount isn't in the proper spot. I would notice this problem when I was either referencing an incorrect directory for this volume mount.