Skip to content

Commit 30786ad

Browse files
Update README.md
1 parent dcc5062 commit 30786ad

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
# alpine-aws-python-lambda
2-
Lightweight docker image for running and packaging python-lambda code.
3-
4-
This is based on the super useful python-lambda library:
5-
6-
<https://github.com/nficano/python-lambda/>
2+
Lightweight [docker image](https://hub.docker.com/r/kilna/alpine-aws-python-lambda/) for running
3+
and packaging python-based AWS lambda code. This is based on [nficano](https://github.com/nficano/)'s
4+
super useful [python-lambda library](https://github.com/nficano/python-lambda/)
75

86
# Usage
97

10-
An example of a usable project can be found in the [example/](./example/) directory. This lambda function
11-
takes a JSON input file like the provided [event.json](./example/event.json) and returns an ASCII-art version of the text
12-
described in it. The provided [Dockerfile](./example/Dockerfile) derives from this image and loads the current workspace
13-
into the image, then installs dependencies from the [requirements.txt](./example/requirements.txt) file.
8+
An example of a usable project can be found in the [example/](./example/) directory. This lambda
9+
function takes a JSON input file like the provided [event.json](./example/event.json) and returns an
10+
ASCII-art version of the text described in it. The provided [Dockerfile](./example/Dockerfile) derives
11+
from this image and loads the current workspace into the image, then installs dependencies from the
12+
[requirements.txt](./example/requirements.txt) file.
1413

1514
To build a docker image called _example-lambda-image_ with the example lambda function in it, run:
1615

@@ -37,7 +36,8 @@ If you would like to see if your lambda function builds properly, run:
3736
$ docker run example-lambda-image lambda build
3837
```
3938

40-
If you would like to get a ZIP file of the lambda function suitable for uploading to Amazon, and the build log in one command:
39+
If you would like to get a ZIP file of the lambda function suitable for uploading to Amazon, and the
40+
build log in one command:
4141

4242
```
4343
$ docker run example-lambda-image sh -c 'rm -rf build.log dist || true && lambda build &>build.log && tar -c build.log dist' | tar -x -v

0 commit comments

Comments
 (0)