Перейти к содержимому

Docker + Node.js/express tutorial: Building dev/prod workflow with docker and Node.js

Sanjeev Thiyagarajan

0:00 / 0:00

Docker + Node.js/express tutorial: Building dev/prod workflow with docker and Node.js

40 223 просмотра · 5 лет назад
Sanjeev Thiyagarajan
29,5 тыс. подписчиков
40 223 просмотра · 5 лет назад
Docker Docker Docker Docker and even more Docker. This is the first of many docker videos I hope to pump out. In this video, i'm going to walk you through how to setup a development workflow for node.js/express apps with docker. I tried searching online for a good video, but there wasn't one that took everything step by step, so I decided to make one. We'll be covering a lot of good stuff like, building images using dockerfiles, learning about volumes and bind mounts, setting environment variables, automating with docker-compose, and splitting up our development and production environments timestamps: 00:00 Intro & demo express app 04:04 Custom Images with Dockerfile 10:20 Docker image layers & caching 20:12 Docker networking opening ports 26:22 Dockerignore file 31:32 Syncing source code with bind mounts 45:16 Anonymous Volumes hack 51:44 Read-Only Bind Mounts 54:44 Environment variables 59:02 loading environment variables from file 01:01:17 Deleting stale volumes 01:03:47 Docker Compose 01:21:22 Development vs Production configs If you like this video please subscribe to this channel. Don't let me go hungry!    / @sanjeevthiyagarajan     / sanjeev_tea     / sanjeev_tea   Support this garbage Channel Patreon:   / sanjeevthiyagarajan     / sanjeev_tea     / sanjeev_tea     / sanjeevkt720