A simple container for running serverless commands
336
A simple container for running serverless commands
Regardless of your OS (Linux, Windows), start by setting up environment variables for your Cloud Environment. I provide examples for AWS below but other environments will be similar.
You can also optionally supply the environment variables in the command at step #3 by appending =your_key to the end of each -e argument.
docker run -it --rm -v %CD%:/src -w /src -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY carlin/serverless slsdocker run -it --rm -v $(pwd):/src -w /src -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY carlin/serverless slsContent type
Image
Digest
Size
388 MB
Last updated
almost 5 years ago
docker pull carlin/serverless