Building Node API using a Docker Utility Container

Published: 06 September 2022
on channel: The Full Stack Junkie
2,558
108

Hey what is up everyone hope you are all health and having a good and productive day. I made this video just to show you how powerful docker is and how we are able to build and spin up an express api without even installing nodejs on our system.

If you found this video helpful please give this video a thumbs up and subscribe to the channels for more content like this.

Create utility image and container
============================
docker build -t node-util .

Init project using utility container
===========================
docker run -it --rm -v "project-dir-absolute-path":/app node-util yarn init
docker run -it --rm -v "project-dir-absolute-path":/app node-util yarn add express

Create express server image and container
===================================
docker run -it --rm -p 3000:3000 express-server


On this page of the site you can watch the video online Building Node API using a Docker Utility Container with a duration of hours minute second in good quality, which was uploaded by the user The Full Stack Junkie 06 September 2022, share the link with friends and acquaintances, this video has already been watched 2,558 times on youtube and it was liked by 108 viewers. Enjoy your viewing!