File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ This image goes with these versions.
1212### Running the demo
1313
1414``` bash
15- $ YOUR_REGION =ap-northeast-1 # your region
16- $ git clone --depth 1 https://github.com/umihico/docker-selenium-lambda.git docker-selenium-lambda && cd $_
17- $ sls deploy --region $YOUR_REGION
18- $ sls invoke -f server --region $YOUR_REGION
15+ $ export AWS_REGION =ap-northeast-1 # You can specify region or skip this line. us-east-1 will be used by default.
16+ $ sls create --template-url " https://github.com/umihico/docker-selenium-lambda/tree/main " --path docker-selenium-lambda && cd $_
17+ $ sls deploy
18+ $ sls invoke --function demo # Yay! You will get texts of example.com
1919```
2020
2121### Side Project
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ service: docker-selenium-lambda
33provider :
44 name : aws
55 stage : ${opt:stage, 'prod'}
6- region : ${opt:region }
6+ region : ${env:AWS_REGION, 'us-east-1' }
77 ecr :
88 images :
99 test :
1010 path : ./
1111
1212functions :
13- server :
13+ demo :
1414 timeout : 60
1515 memorySize : 2048
1616 image :
You can’t perform that action at this time.
0 commit comments