Node.js Rocks in Docker, DockerCon 2022 Edition
HTML-код
- Опубликовано: 29 сен 2024
- My DockerCon 2022 talk on Node.js containers. Learn the best practices of managing Node.js and JavaScript projects when developing, testing, and operating containers. This talk will take you on a journey, starting with picking the best node base image (and maybe even making your own) that will work in local development, automated testing, and production. Then we'll walk through best practices for multi-stage, optimizing your builds, testing of Node.js containers, and production-focused container settings.
Node.js apps rock in containers, so come join Bret for a fun ride through the best parts and learn solutions for the problems that you'll need to solve along the way.
Examples repository: github.com/Bre...
Support this show on Patreon! It's the #1 way to support this show, my podcast, and open source / bretfisher
Join the discussion on our Discord chat server devops.fan
Bret Fisher
=========
Best coupons for my Docker and Kubernetes courses at www.bretfisher...
Listen to my podcast of this show's past episodes at www.bretfisher...
#nodejs #docker #dockercon
Thank you. As DevOps and as Ukrainian)
You are most welcome. Glory to Ukraine!
I started follow Bret! Bret your content is amazing!
How can I consult the number of CVEs in an image? I mean, the ranking in 1:47
I scanned each of those images with Trivy github.com/aquasecurity/trivy
You are on fire 🔥
Brett, as always with the best tips and the best possible explanation.
AWESOME! Would you please do the same session for python also. It would be really helpful for us.
Nice idea. The only real changes are that anywhere you have npm install, you would have pip install (with a requirements.txt) instead. The base images have the same issues as the Node.js base images, and the Dockerfiles largely look the same. I don't do pipenv in a container, because I like things to just use the apt Python 3.x install, but there's nothing wrong with pipenv if you want to do it that way.
Nice talk