...

/

How Do We Run Our Rails App?

How Do We Run Our Rails App?

Find the best option to build our Rails app.

Ways to run our Rails app

Unfortunately, we cannot start a Rails server with just the ruby:2.7 image. Rails has a few more requirements like JavaScript interpreter (Node.js) to help with the asset pipeline and gem dependencies. One way is to run Bash inside a container based on the ruby:2.7 image, and install what we need from there. However, running the commands manually is not easily repeatable.

Another way to get ...