Dockerizing a Node.js Application
In this chapter, we will learn how to deploy our application to the public internet using Docker. We will explore how we can use GitHub Actions to ensure that our Docker images are working well in the continuous integration (CI) pipeline.
We will learn how to Dockerize the application and publish the image to Docker Hub for better portability so we can download our images in different environments.
Finally, we will discuss how to do a proper domain setup and how to add a Secure Sockets Layer (SSL) certificate to the application using Cloudflare. We will also explore the Twelve-Factor App principles.
To sum up, here are the main topics that we will explore in this chapter:
- How to use GitHub Actions for CI
- How to use DigitalOcean Droplet to host the Docker application
- How to use Docker to build the application and publish the image to Docker Hub
- How to do a proper domain setup and add an SSL certificate to the application...