Skip to content

Commit

Permalink
CMR-9259: Update browse-scaler/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jay Barra <[email protected]>
  • Loading branch information
eudoroolivares2016 and Jay Barra authored Jun 22, 2023
1 parent 6d3d79a commit be3a0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browse-scaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For example `jest cmr.test.js` will run that test file. Test output is produced

# Testing locally

The lambda can be executed locally using Docker and the amazon/aws-lambda-nodejs:18 image. Run the following in `browse-scaler root directory` (It must be run on the root dir if you get an error `Error: Cannot find module 'index'` it is likely that you tried to start it up in the `/src` dir) to start the lambda in docker and listening on host port 9000. In order ot have active cache you must spin up your own redis docker container. This can be done with: `docker container run -p 6379:6379 redis:bullseye-7` note if this is not installed on your machine initially, docker will pull down the image.
The lambda can be executed locally using Docker and the amazon/aws-lambda-nodejs:18 image. Run the following in `browse-scaler root directory` (It must be run on the root dir if you get an error `Error: Cannot find module 'index'` it is likely that you tried to start it up in the `/src` dir) to start the lambda in docker and listening on host port 9000. In order ot have active cache you must spin up your own redis docker container. This can be done with: `docker container run -p 6379:6379 redis:7-bullseye` note if this is not installed on your machine initially, docker will pull down the image.

```
docker run --rm \
Expand Down

0 comments on commit be3a0c9

Please sign in to comment.