File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ If you would like to see if your lambda function builds properly, run:
4747$ docker run example-lambda-image lambda build
4848```
4949
50- If you would like to get a ZIP file of the lambda function suitable for uploading to Amazon:
50+ 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 :
5151
5252```
53- $ docker run example-lambda-image sh -c 'rm -rf dist* && lambda build 2&>1 >/dev/null && tar -c dist/*.zip' | tar -x -v
54- dist/2017-08-31-212523-example-lambda.zip
53+ $ 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
54+ build.log
55+ dist/
56+ dist/2017-09-01-003647-example-lambda.zip
5557```
You can’t perform that action at this time.
0 commit comments