Skip to content

Commit a41f6a3

Browse files
Update README.md
1 parent b99a3be commit a41f6a3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,30 @@ This is based on the super useful python-lambda library:
77

88
# Usage
99

10-
An example of a usable project can be found in the `example/` directory. This example lambda function
11-
takes a JSON input file like event.json and returns an ASCII-art version of the text.
10+
An example of a usable project can be found in the [example/](./example/) directory. This example 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.
1212

1313
```
1414
$ cd example/
1515
```
1616

17-
The `Dockerfile` in the example directory loads the current workspace into the image and installs
18-
dependencies from the `requirements.txt` file:
17+
The [Dockerfile](./example/Dockerfile) in the example directory loads the current workspace into the image and installs
18+
dependencies from the [requirements.txt](./example/requirements.txt) file:
1919

2020
```
21+
$ cat Dockerfile
2122
FROM kilna/alpine-aws-python-lambda
2223
COPY . /workspace
2324
RUN pip install -r requirements.txt
2425
```
2526

26-
To build a docker image called `example-lambda-image` with the lambda function in it, run:
27+
To build a docker image called _example-lambda-image_ with the lambda function in it, run:
2728

2829
```
2930
$ docker build --tag example-lambda-image .
3031
```
3132

32-
If you want to execute the lambda function against the `event.json` input file:
33+
If you want to execute the lambda function against the [event.json](./example/event.json) input file:
3334

3435
```
3536
$ docker run example-lambda-image lambda invoke

0 commit comments

Comments
 (0)