File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ echo "Then you can use the following to send requests to the local endpoint"
15
15
echo " curl -XPOST \" http://localhost:9000/2015-03-31/functions/function/invocations\" -d @${SCRIPT_DIR} /test-events/event.json"
16
16
echo
17
17
echo " Use the following to run a local Flask development server hosting the API"
18
- echo " docker run -p 8080:8080 --entrypoint python pcluster-lambda -m pcluster.api.flask_app"
18
+ echo " docker run -p 8080:8080 -v ~/.aws:/root/.aws:ro - -entrypoint python pcluster-lambda -m pcluster.api.flask_app"
19
19
echo " Then you can navigate to the following url to test the API: http://0.0.0.0:8080/ui"
20
20
echo " Note that to enable swagger-ui you have to build the docker with '--build-arg PROFILE=dev'"
You can’t perform that action at this time.
0 commit comments