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 (#2057)

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
  • Loading branch information
Tsotne Tabidze authored Nov 18, 2021
1 parent f5c1935 commit 214a916
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 214a916

Please sign in to comment.