Skip to content

Run commands in docker containers as serverless hooks

License

Notifications You must be signed in to change notification settings

ziggy42/serverless-docker-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-docker-hooks

Run commands in docker containers as serverless hooks. Requires docker to be installed and running.

Install

npm install --save-dev serverless-docker-hooks

Usage

plugins:
  - serverless-docker-hooks

custom:
  dockerHooks:
    before:deploy:deploy:
      image: ubuntu
      command: # Optional
        - 'bash' 
        - '-c'
        - 'ls local'
      volumes: # Optional
        - './:/local'

About

Run commands in docker containers as serverless hooks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published