DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Dockerizing Your First Node Application

5 years ago medium.com
Dockerizing Your First Node Application

Summary: This is a summary of an article originally published by the source. Read the full original article here →

I always knew about the buzz around containerization and Docker but looking at the configuration files and reading articles about how it worked always freaked me out.

Yes, at times things got a bit hairy when moving projects around different computers and environment, but somehow I always managed to make it work.

That is when I realized how awesome Docker really is and how easy it is to set up.

In our case here, we are basing our image on node:latest which is common to use for any Node applications

The syntax is the following: So we are copying the package.json that has all our application dependencies from our local machine to the container’s directory that we just created and moved to.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com