Created
March 15, 2021 13:35
-
-
Save sofianhamiti/6195624f9b79c5be5d9506fb3db35a6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM public.ecr.aws/lambda/python:3.8 | |
| # Install dependencies | |
| COPY requirements.txt /tmp/ | |
| RUN pip3 install -r /tmp/requirements.txt --no-cache | |
| # Copy inference code | |
| COPY predict.py utils.py ${LAMBDA_TASK_ROOT}/ | |
| CMD [ "predict.handler" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment