Containerize the Application

Build 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 your current working directory as the build context. Remember, the build context is the directory where our app files live.

Get hands-on with 1400+ tech skills courses.