Skip to Content
Migrating Applications to the Cloud with Azure
book

Migrating Applications to the Cloud with Azure

by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
December 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 41m
English
Packt Publishing
Content preview from Migrating Applications to the Cloud with Azure

Building the Docker image

After preparing a Dockerfile, the next step is to build the Docker image. We'll be using the Docker build command for that.

Let's build the Docker image with the Dockerfile we prepared for the sample Node.js Express-based web application:

  1. Log in to the Docker host using SSH.
  2. Install Git tools in the VM by running the sudo apt-get install git command.
  3. Clone the GitHub repository by issuing the following command:
git clone  https://github.com/amalik99/project-nodejs-express-webapp.git
  1. Change directories to the cloned repo directory by issuing the following command:
cd project-nodejs-express-webapp
  1. You can verify the directory's content by issuing the ls -l command. Once verified, issue the following command to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Migrating Applications to the Cloud

Migrating Applications to the Cloud

Steve Swoyer
Microsoft Azure: Planning, Deploying, and Managing the Cloud

Microsoft Azure: Planning, Deploying, and Managing the Cloud

Julian Soh, Marshall Copeland, Anthony Puca, Micheleen Harris

Publisher Resources

ISBN: 9781839217470Supplemental Content