Created
February 14, 2021 16:30
-
-
Save sofianhamiti/ad5d85d1fff3984ec3a1aab263c3b7e4 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 ${LAMBDA_TASK_ROOT}/ | |
| CMD [ "predict.handler" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment