Changes between Version 8 and Version 9 of Nodejs


Ignore:
Timestamp:
11/10/22 07:24:04 (2 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nodejs

    v8 v9  
    1818  }
    1919}
    20 }}}
    21 With your new package.json file, run npm install. If you are using npm version 5 or later, this will generate a package-lock.json file which will be copied to your Docker image. [[br]]
     20}}}
     21
     22 With your new package.json file, run npm install. If you are using npm version 5 or later, this will generate a package-lock.json file which will be copied to your Docker image. [[br]]
    2223
    23242. Then, create a server.js file that defines a web app using the Express.js framework:
     
    7071npm-debug.log
    7172}}}
    72 This will prevent your local modules and debug logs from being copied onto your Docker image and possibly overwriting modules installed within your image.[[br]]
     73
     74 This will prevent your local modules and debug logs from being copied onto your Docker image and possibly overwriting modules installed within your image.[[br]]
    7375
    74765. Build your image