Deploying the Application with Docker and CI/CD
Now that we have successfully developed our first full-stack application with a backend service and a frontend, we are going to package our app into Docker images and learn how to deploy them using continuous integration (CI) and continuous delivery (CD) principles. We have already learned how to start Docker containers in Chapter 2, Getting to Know Node.js and MongoDB. In this chapter, we will learn how to create our own Docker images to instantiate containers from. Then, we are going to manually deploy our application to a cloud provider. Finally, we are going to configure CI/CD to automate the deployment of our application. At the end of this chapter, we will have successfully deployed our first full-stack MongoDB Express React Node.js (MERN) application, and set it up for future automated deployments!
In this chapter, we are going to cover the following main topics:
- Creating Docker images
- Deploying our full-stack application...