Skip to content

This is the docker image with Node 14 ready for use Serverless 2.x

License

Notifications You must be signed in to change notification settings

comicrelief/docker-node-sls-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Node Serverless v2

This is the docker image with Node 14 for use with Serverless 2.x

Updating image on Docker Hub

Automated

Images can be pushed to Docker Hub by creating a release on this Github repo: https://github.com/comicrelief/docker-node-sls-2/releases/new

Manually

Log in Docker Hub. Your user must have write permissions to the comicrelief Docker Hub organisation.

docker login

Set a version number (typically incrementing the minor version on the previous release). Build the docker image locally and then push the built image to Docker Hub.

export VERSION=x.x.x
docker build -t comicrelief/docker-node-sls-2:$VERSION .
docker push comicrelief/docker-node-sls-2:$VERSION

To update the latest published tag of the image, manually create a tag using the reference printed out as part of the docker build command (run above). The output from that command should be in the format Successfully built <reference>.

docker tag <reference> comicrelief/docker-node-sls-2:latest
docker push comicrelief/docker-node-sls-2:latest