Changes between Version 8 and Version 9 of Nodejs
- Timestamp:
- 11/10/22 07:24:04 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Nodejs
v8 v9 18 18 } 19 19 } 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]] 22 23 23 24 2. Then, create a server.js file that defines a web app using the Express.js framework: … … 70 71 npm-debug.log 71 72 }}} 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]] 73 75 74 76 5. Build your image