app.pyの編集を反映させるためには毎回buildが必要(だと思う)
- for dev
# build image
$ docker build -t {image name} .
# start container
$ docker run --rm -p 9000:8080 {image name} -v $HOME/.aws/:/root/.aws/
- run lambda
curl -d '{}' http://localhost:9000/2015-03-31/functions/function/invocations
- build image & run
$ docker-compose up --build
- run lambda
curl -d '{}' http://localhost:9000/2015-03-31/functions/function/invocations
- edit .env file
- build image
- run lambda