Building Node API using a Docker Utility Container

Publié le: 06 septembre 2022
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Building Node API using a Docker Utility Container durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur The Full Stack Junkie 06 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,558 fois et il a aimé 108 téléspectateurs. Bon visionnage!