Changes between Version 7 and Version 8 of Nodejs
- Timestamp:
- 11/10/22 07:22:04 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Nodejs
v7 v8 42 42 }}} 43 43 44 3. create Dockerfile with following content44 3. Create Dockerfile with following content 45 45 {{{ 46 46 FROM node:16 … … 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 73 74 5. Build your image 75 {{{ 76 [krit mini NodeJS]$ docker build . -t ateam/node-web-app 77 }}} 74 78 79 6. Run container 80 {{{ 81 [krit mini NodeJS]$ docker run --name nodejs -p 49160:8080 -d ateam/node-web-app 82 }}}