1: In the root directory of your Rails app, create a file named Dockerfile (without any file extensions) with the following content: # Use the official Ruby image as the base image FROM ruby:3.2.2 # ...