Changes between Version 5 and Version 6 of Nodejs


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Nodejs

    v5 v6  
    4141});
    4242}}}
    43 
    44433.create Dockerfile with following content
    4544{{{
     
    6463CMD [ "node", "server.js" ]
    6564}}}
    66 
    67654. Create a .dockerignore file in the same directory as your Dockerfile with following content:
    6866{{{
     
    7068npm-debug.log
    7169}}}
    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.
     70This will prevent your local modules and debug logs from being copied onto your Docker image and possibly overwriting modules installed within your image.[[br]]
    7371
    7472