Skip to content

Commit

Permalink
Install redis extra in AWS Lambda feature server & add hiredis depend…
Browse files Browse the repository at this point in the history
…ency

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
  • Loading branch information
Tsotne Tabidze committed Nov 17, 2021
1 parent 3bbd4cf commit 9d8f1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY protos protos
COPY README.md README.md

# Install Feast for AWS with Lambda dependencies
RUN pip3 install -e 'sdk/python[aws]'
RUN pip3 install -e 'sdk/python[aws,redis]'
RUN pip3 install -r sdk/python/feast/infra/feature_servers/aws_lambda/requirements.txt --target "${LAMBDA_TASK_ROOT}"

# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
Expand Down
1 change: 1 addition & 0 deletions sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@

REDIS_REQUIRED = [
"redis-py-cluster==2.1.2",
"hiredis>=2.0.0",
]

AWS_REQUIRED = [
Expand Down

0 comments on commit 9d8f1a8

Please sign in to comment.