The Easiest Way To Deploy Nodejs With Docker

Опубликовано: 10 Октябрь 2024
на канале: DevOps For Developers
5,714
124

Get the DevOps Roadmap for 2022 here: https://devopsfordevelopers.io/roadmap


In this video you will learn how to create a professional Docker image for a node.js application. Key take-aways include using multi-stage builds, running your container as a non-root user, and pushing your image to Docker hub.


——————————🎥 C H A P T E R S ——————————


0:00 Introduction
0:50 Creating the Dockerfile
3:17 Creating the final image
5:35 Using a non-root user
7:09 Build the image
7:36 Push the image to Docker hub
8:04 Run a container using our image


——————————👋 C O N N E C T ——————————
Discord ▻ https://devopsfordevelopers.io/discord
Twitter ▻   / 0xwillbutton  


——————————🛠 R E S O U R C E S ——————————
The DevOps Career Guide ▻ https://devopsfordevelopers.io/devops...
DevOps Roadmap ▻ https://devopsfordevelopers.io/roadmap
DevOps merch ▻ https://devopsfordevelopers.io/merch