ergoal.blogg.se

Nodejs portable
Nodejs portable






nodejs portable nodejs portable

In this first article we'll cover how to create an image for executing the app. We'll use Express as framework to build the app but the procedures that we'll describe here are suitable for every application of this kind. In this serie of articles we'll see step by step how to use the Docker's features to manage the whole life cycle of a Node.js web application: development, testing, debugging, deployment with other services. The idea behind is simple: create a portable and self contained environment with only the needed dependencies to allow the execution of our application. Working on an application which runs in very different environments can be the origin of unpleasant experiences that range from a difficult and sometimes unlikely set up (imagine to have on the same pc two or more projects which use different versions of the same dependencies) to bugs that cannot be reproduced easily on other machines.ĭocker is a tool created to deal with these and other problems. How many times did you set up your pc for the development of a new application which required not only the installation of a programming language and dependencies but also the configuration of one or more services like a database or a debugger?








Nodejs portable