mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
8 lines
250 B
Makefile
8 lines
250 B
Makefile
IMAGE=username/lambda-node-aws-example
|
|
|
|
create: Dockerfile
|
|
docker build -t $(IMAGE) .
|
|
|
|
test:
|
|
docker run --rm -it -e PAYLOAD_FILE=/mnt/example-payload.json -e AWS_ACCESS_KEY_ID=change-here -e AWS_SECRET_ACCESS_KEY=change-here -v `pwd`:/mnt $(IMAGE)
|