Docker + Node.js/express tutorial: Building dev/prod workflow with docker and Node.js
Video Statistics and Information
Channel: Sanjeev Thiyagarajan
Views: 24,525
Rating: undefined out of 5
Keywords: docker, container, compose, node, node.js, express, app, javascript, development, production, dockerfile, dockerignore, tutorial, programming, web
Id: gm_L69NHuHM
Channel Id: undefined
Length: 104min 50sec (6290 seconds)
Published: Mon Mar 01 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Made a video for people who want to get started dockerizing node.js/express app.
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
What great timing! I've got a branch where I have been trying to dockerize for dev and prod and messed it up. Thanks for sharing!
Thank you. Very good teaching, I highly recommend!
Followed!
Very good, thanks!
Saving with a comment. This is literally what I want thanks!