Builds an absolutely minimal image for deploying Serverless projects.
The main use is for deploying Serverless projects using Gitlab CI.
Pulling from Docker Hub
docker pull tomelliff/serverless
docker run -it tomelliff/serverless /bin/sh
or
docker run -it tomelliff/serverless serverless info
docker run -it tomelliff/serverless /bin/sh -c "npm install && serverless deploy"
deploy:
stage: deploy
image: tomelliff/serverless:latest
script:
- serverless deploy