Defining Our First Custom Image
Learn how to use Dockerfile to build your own Rails image.
We'll cover the following...
Build image
The process of generating an image from a Dockerfile is called building an image. We do that with the docker build
command, which has the following format:
$ docker build [options] path/to/build/directory
If we are in the directory containing our Dockerfile and project file, we can use the following command:
$ docker build .
...