Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ A `builder` can be chosen by a flag. Note that while a `builder` may be selected

```shell
lambda-builder build --generate-image --builder dotnet
````
```

#### Building an image

Expand All @@ -81,7 +81,7 @@ By default, any web process started by the built image starts on port `9001`. Th
```shell
# build the image and ensure it starts on port 5000 by default
lambda-builder build --generate-image --port 5000
````
```

Custom environment variables can be supplied for the built image by specifying one or more `--image-env` flags. The `--image-env` flag takes `KEY=VALUE` pairs.

Expand All @@ -94,7 +94,7 @@ The `build-image` and `run-image` can also be specified as flags:

```shell
lambda-builder build --generate-image --build-image "mlupin/docker-lambda:dotnetcore3.1-build" --run-image "mlupin/docker-lambda:dotnetcore3.1"
````
```

A generated image can be run locally with the following line:

Expand Down