Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 465 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 465 Bytes

docker-node

How to add a new version

This example is from 13 to 14

  1. $ cp -r 13 14
  2. Edit 14/Dockerfile and change 13 to 14
  3. Edit 14/etc/apt/sources.list.d/nodesource.list and change 13 to 14
  4. $ git add 14
  5. $ git commit -m "Updated to node v14"
  6. $ git push
  7. $ docker build -t onomondo/node:14 -f 14/Dockerfile .
  8. $ docker login. Not needed if you're already logged in to docker.
  9. $ docker push onomondo/node:14