Skip to content

tomelliff/docker-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Serverless image

Builds an absolutely minimal image for deploying Serverless projects.

The main use is for deploying Serverless projects using Gitlab CI.

Using the image

Pulling from Docker Hub

docker pull tomelliff/serverless

Running the image locally

docker run -it tomelliff/serverless /bin/sh

or

docker run -it tomelliff/serverless serverless info

Installing npm dependencies in local Docker container

docker run -it tomelliff/serverless /bin/sh -c "npm install && serverless deploy"

Using it in Gitlab CI

deploy:
  stage: deploy
  image: tomelliff/serverless:latest
  script:
    - serverless deploy

About

Minimal image for deploying Serverless projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published