mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fixed up lambda-node to work with multi-stage changes.
This commit is contained in:
@@ -6,10 +6,10 @@ anywhere. You should be able to take your code and run them without any changes.
|
||||
## Creating Lambda Functions
|
||||
|
||||
Creating Lambda functions is not much different than using regular functions, just use
|
||||
the `lambda-node` runtime.
|
||||
the `lambda-node-4` runtime.
|
||||
|
||||
```sh
|
||||
fn init --runtime lambda-node <DOCKER_HUB_USERNAME>/lambda-node
|
||||
fn init --runtime lambda-node-4 <DOCKER_HUB_USERNAME>/lambda-node
|
||||
```
|
||||
|
||||
Be sure the filename for your main handler is `func.js`.
|
||||
|
||||
Reference in New Issue
Block a user