How to Speed up Docker Development! 🐳 Hot Reloading, Debuggers, and More!

Опубликовано: 08 Октябрь 2024
на канале: DevOps Directive
29,598
919

Docker is a powerful tool for building and deploying applications, but when getting started, development can be slow and frustrating... 😡

In this video use a node.js (express.js) API application and show how to improve the development experience by:
1) Enable hot reloading with nodemon and volume mounts
2) Configure the node debugger to work from inside the container
3) Set up docker-compose to encode all of the necessary configuration for development

---

Timestamps:
00:00 - Intro
00:53 - Sample app overview
01:24 - Build + run
02:20 - Rebuilding image to make change
03:38 - Setting up nodemon + volume mounts
06:20 - Setting up inspect debugger
08:07 - Demonstrating debugger usage
09:16 - Defining docker-compose.yaml

---
Join the Community:
💬 Discord:   / discord  
💻 GitHub: https://github.com/sidpalas/devops-di...
🐥 Twitter:   / sidpalas  
👨‍💼 LinkedIn:   / sid-palas  
🌐 Website: https://devopsdirective.com

---
Community size at time of posting:
Subscribers: 15680
Channel Views: 477078