项目作者: jch254

项目描述 :
Docker-powered build/deployment environment for Serverless projects
高级语言: Dockerfile
项目地址: git://github.com/jch254/docker-node-serverless.git
创建时间: 2016-10-03T09:23:53Z
项目社区:https://github.com/jch254/docker-node-serverless

开源协议:

下载


Docker-node-serverless

Dockerhub badge

Docker-powered build/deployment environment for Serverless projects. This Docker image is intended for use with Bitbucket Pipelines and AWS CodeBuild.

See serverless-node-dynamodb-api for an example of this image in action.


This image is based on node:20-alpine (AWS Lambda uses Node v20.x) and has the AWS CLI, Serverless v3.38.0 and Yarn installed.

To deploy a Serverless service to AWS you will need to create an IAM user with the required permissions and set credentials. I’m setting credentials using Bitbucket Pipelines environment variables; however setting credentials in Dockerfile is also possible.

Use the 20.x branch/tag for an image running Node v20, the 18.x branch/tag for an image running Node v18 and the 16.x branch/tag for an image running Node v16.