Category: Software, Data, Docker, containerization

Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications.

The first thing we need to do is add a line in our Dockerfile that tells Docker what base image we would like to use for our application.

In the same way, when we use the FROM command, we tell docker to include in our image all the functionality from the node:12.18.1 image.

Now all we have to do is to tell Docker what command we want to run when our image is run inside of a container.

Related Articles