Главная
Study mode:
on
1
Intro
2
What We Gonna' Learn Bret? .Node Dockerfile Best Practices
3
Every Node Sample Dockerfile
4
Node Base Image Guidelines Stick to even numbered major releases
5
When to use Alpine Images
6
node_modules in Images . Problem: we shouldn't buildinages with node_modules from host
7
Least Privilege: Using node User
8
Node Process Management In Containers
9
The Truth About The PID 1 Problem
10
Proper CMD for Healthy Shutdown
11
Proper Node Shutdown Options Temp: Use --init to fix ctrl-c for now
12
Avoiding dev Dependencies In Prod .Multi-stage can solve this
13
Building A Specific Stage
14
More Multi-stage: test
15
Security Scanning and Audit
16
Compose YAML v2 vs v3 Myth busting: v3 does not replace v2
17
node_modules in Bind-Mounts
18
Bind-Mounting: Performance . On Linux, bind-mounts are native
19
Dependency Awareness
Description:
Discover best practices for managing Node.js and JavaScript projects in Docker containers. Explore optimized Docker Desktop and Compose configurations for local development, leveraging cutting-edge features like macOS mind-mount performance enhancements, BuildKit npm caching, and multi-stage image targeting. Learn to optimize builds, testing, and CI/CD processes for Node.js applications, including techniques for handling private npm modules. Gain insights into production orchestration, focusing on zero-downtime updates for Node.js applications in Kubernetes and Swarm environments. Master essential topics such as Dockerfile best practices, base image selection, node_modules management, process management, security scanning, and performance optimization for bind-mounts. Enhance your skills in developing, testing, and operating Node.js applications within Docker containers through practical examples and expert guidance.

Node.js Rocks in Docker for Dev and Ops

Docker
Add to list