Containerize a Single-Container Application
Get started with containerizing a single-container application.
We'll cover the following
In the next few lessons, we’ll complete the following steps to containerize a simple Node.js app:
- Get the application code from GitHub
- Create the Dockerfile
- Containerize the app
- Run the app
- Test the app
- Look a bit closer
Get the application code
The application we’ll use is a simple Node.js web app that serves a web page on port 8080
.
If you still need to clone the repo, run the following command to clone it. You’ll need git
installed, and it will create a new directory called ddd-book
.
Note: For this course, we have already cloned the code in our playground, and it can be accessed in the
ddd-book
folder in the root directory. We used the following command to clone the repo:git clone https://github.com/nigelpoulton/ddd-book.git
Get hands-on with 1400+ tech skills courses.