Docker-izing a NodeJS ExpressJS API - Tutorial

preview_player
Показать описание

● SUBSCRIBE to see more of my Videos & hit that LIKE button to support the channel!

Hi All, In this tutorial, we are going to be looking at how you can dockerize an existing NodeJS application and ultimately leverage the benefits of Docker. We'll be creating a Docker image that will dynamically pick up changes to a NodeJS application and automatically recompile and rerun our application without having to rebuild and re-run our docker image.

‎--------------

🎥 Recording Setup

Рекомендации по теме
Комментарии
Автор

Excellent! I was struggling with the setup since last few days. Just got it working after watching your videos. Super helpful. You just got a new subscriber from Germany :) Keep up your good work <3

MSRahmanSD
Автор

This was honestly an amazing explanation.

theprince
Автор

11:13 if nodemon does not pick up the changes, you might want to change the start script in package.json to `nodemon -L app.js`, then re-build and re-run docker.

hannahn
Автор

Thanks a lot of for this man. I’m new to docker and I was only finding tutorials about what docker is and what it does, but your video was the first to actually answer how to use and manage my source code that I want inside the container.

Leeboi
Автор

Tried this in 2022 and it still works fine. Thank you :)

sudeeprao
Автор

Amazing accent! The way you say "file" LOL! Great video.

yznaiber
Автор

Simple and straightforward! Thank you so much! :)

TheFitFiddler
Автор

Finally a tutorial that makes something as easy as it should be! Nice one, thanks.

colmanian
Автор

thanks bro, it works, i could deploy my api with mysql in my ubuntu server

joseantoniosanchesgarcia
Автор

Great explanation. How can we attach MySQL to it?

KrishnaDasPC
Автор

Thak you for video. I m wondering why you install Node_modules in local host? it should be install one time in docker image and all local fils should be source files of your project and each time you modify your code the update will be automaticly happen in Bidrectionale way ?
Thank's for avance.

maloukemallouke
Автор

Beside an amazing tutorial, you have a beautiful accent

omarh
Автор

Great pace, keep it up! Could you do a tutorial where this Node.JS dockerized app is interacting with, say, a dockerized MariaDB please?

MrHeadWorks
Автор

12:02 hahah, excellent! Awesome video.

VladyVeselinov
Автор

Hey man awesome tutorial!! I have just disovered this awesome docker world!!
Would you mind to explain how woul be a work flow which includ, expressjs, git push, and selfdeploy in a docker server???

marcetech
Автор

The -v does not work for me. I get a 'invalid reference format' when I use the $(pwd):/app command. but when I use /app, it works, but it does not recognise the changes I make.

filipmoniuszko
Автор

this one is very easy to follow, do u have a sample for yml

thananut
Автор

Great tutorial!
The only one question. What if I have (as example) typescript in my node app? What the best way to handle it? Thanks

dmitriy
Автор

10:45 Can you please explain more what the -v argument really does? The image is build and files are copied to /app. what happens with the -v ? the command COPY will be automatically run without rebuilding the docker image?

simopr
Автор

Hello Eliot . This was very helpful. Can you make a video of dockerizing project built on .cgi / Cgi programming

harshitamdmath