17

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 ...

Get Node.js for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.