Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jch254/docker-node-serverless
Docker-powered build/deployment environment for Serverless projects
https://github.com/jch254/docker-node-serverless
aws aws-codebuild bitbucket-pipelines build-environment ci codebuild docker docker-node-serverless nodejs serverless
Last synced: about 1 month ago
JSON representation
Docker-powered build/deployment environment for Serverless projects
- Host: GitHub
- URL: https://github.com/jch254/docker-node-serverless
- Owner: jch254
- Created: 2016-10-03T09:23:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T20:42:39.000Z (7 months ago)
- Last Synced: 2024-10-05T04:51:37.373Z (about 1 month ago)
- Topics: aws, aws-codebuild, bitbucket-pipelines, build-environment, ci, codebuild, docker, docker-node-serverless, nodejs, serverless
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/jch254/docker-node-serverless
- Size: 47.9 KB
- Stars: 11
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-node-serverless
[![Dockerhub badge](http://dockeri.co/image/jch254/docker-node-serverless)](https://hub.docker.com/r/jch254/docker-node-serverless)
Docker-powered build/deployment environment for Serverless projects. This Docker image is intended for use with [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines) and [AWS CodeBuild](https://aws.amazon.com/codebuild).
See [serverless-node-dynamodb-api](https://github.com/jch254/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](http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html)) 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](https://confluence.atlassian.com/bitbucket/environment-variables-in-bitbucket-pipelines-794502608.html); however setting credentials in Dockerfile is also possible.
Use the [20.x](https://github.com/jch254/docker-node-serverless/tree/20.x) branch/tag for an image running Node v20, the [18.x](https://github.com/jch254/docker-node-serverless/tree/18.x) branch/tag for an image running Node v18 and the [16.x](https://github.com/jch254/docker-node-serverless/tree/16.x) branch/tag for an image running Node v16.