Containerize the Application

Learn how to containerize the application in detail.

Building the Docker image

In this lesson, we’ll build the application into a container image. Run the following command to build a new image called ddd-book:ch8.node. Be sure to include the trailing period (.), as this tells Docker to use our current working directory as the build context. Remember, the build context is the directory where our app files live.

Get hands-on with 1300+ tech skills courses.