Migrating Applications to the Cloud with Azure
by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
Preparing a sample Dockerfile for a sample app
In this example, we'll look at a Node.js Express-based web application that's been published by Microsoft and we will containerize the application.
Microsoft published this Node.js Express-based web application as a sample that can deploy Node.js apps on Azure App Service and VM. The application code can be found at https://github.com/Microsoft/project-nodejs-express-webapp.
While we love Azure Web Apps and VMs, we want to deploy this as a container in order to align this with our app modernization strategy. I've forked this repository in my GitHub account and created a Dockerfile for the application so that I can build a Docker image. Here's the link: https://github.com/PacktPublishing/Migrating-Apps-to-the-Cloud-with-Azure/tree/master/Chapter3 ...
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.
Read now
Unlock full access