Hacker News new | ask | show | jobs
by TomK32 1245 days ago
For the backend rails app my docker-compse mounts the work directory like so, which means I don't have to develop inside that container except for when I need to use the rails console.

    web:
      image: rubylang/ruby:3.0.1-focal
      volumes:
        - .:/myapp